Added exception info to monkey main function.

This commit is contained in:
Shay Nehmad 2019-09-05 20:56:00 +03:00
parent 3403d26d70
commit 731e3acb90
1 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@ def main():
json.dump(json_dict, config_fo, skipkeys=True, sort_keys=True, indent=4, separators=(',', ': '))
return True
except Exception:
LOG.exception("Exception thrown from monkey's start function")
except Exception as e:
LOG.exception("Exception thrown from monkey's start function. More info: {}".format(e))
finally:
monkey.cleanup()