Exceptions are logged and sent to island

This commit is contained in:
Itay Mizeretz 2018-02-19 18:32:43 +02:00
parent ee1a321416
commit e11a75eb48
1 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,8 @@ def main():
json.dump(json_dict, config_fo, skipkeys=True, sort_keys=True, indent=4, separators=(',', ': ')) json.dump(json_dict, config_fo, skipkeys=True, sort_keys=True, indent=4, separators=(',', ': '))
return True return True
except Exception:
LOG.exception("Exception thrown from monkey's start function")
finally: finally:
monkey.cleanup() monkey.cleanup()