This commit is contained in:
Cyberes 2024-09-03 20:39:39 -06:00
parent f4bdf2c982
commit 4de1df3dcb
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ try:
state = state_mes['message'] state = state_mes['message']
except: except:
print('Unknown: failed to fetch data') print('Unknown: failed to fetch data')
traceback.print_exc() print(traceback.format_exc())
sys.exit(nagios.STATE_CRIT) sys.exit(nagios.STATE_CRIT)
if res.status_code == 200: if res.status_code == 200: