Added exception info to monkey main function.
This commit is contained in:
parent
3403d26d70
commit
731e3acb90
|
@ -127,8 +127,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:
|
except Exception as e:
|
||||||
LOG.exception("Exception thrown from monkey's start function")
|
LOG.exception("Exception thrown from monkey's start function. More info: {}".format(e))
|
||||||
finally:
|
finally:
|
||||||
monkey.cleanup()
|
monkey.cleanup()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue