You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.
"Traceback (most recent call last):\n File \"/usr/local/lib/python2.7/dist-packages/zmon_worker-0.1-py2.7.egg/zmon_worker_monitor/zmon_worker/tasks/main.py\", line 1200, in _get_check_result_internal\n result = safe_eval(cmd, eval_source='<check-command>', **ctx)\n File \"/usr/local/lib/python2.7/dist-packages/zmon_worker-0.1-py2.7.egg/zmon_worker_monitor/zmon_worker/common/eval.py\", line 187, in safe_eval\n return c() # if a function will return another callable, we will not call it\n File \"<check-command>\", line 3, in check\nKeyError: 'foo'\n"
This should be formatted nicely, so it's readable and not just one long line.
The stack trace above was created by running
defcheck():
foo= {'bar': 'baz'}
returnfoo['foo']
in trial run
The text was updated successfully, but these errors were encountered:
rajatparida86
changed the title
Format exceptions in the UI
Exceptions occurring during check executions are not formatted - so not easily readable
Aug 1, 2018
With the merge of zalando-zmon/zmon-worker#310 we get a stack trace in the "value" field of a check like
This should be formatted nicely, so it's readable and not just one long line.
The stack trace above was created by running
in trial run
The text was updated successfully, but these errors were encountered: