enhancement - on start up - throw error if script bombs out
johndpope opened this issue · comments
usually just running python will uncover exceptions - but it would be great to propagate this out to console.
https://docs.python.org/3/howto/logging.html
maybe we can just add
import logging
except Exception as err:
failed = True
log(json.dumps(generate_exception_event(err)))
logging.error(err)
this should be merged....