In Python, sometimes you just need to catch all exceptions and show which one was it:
try: do_something_important() except Exception as e: e_name = type(e).__name__ logger.error("Exception happened (%s) while doing things", e_name)
In Python, sometimes you just need to catch all exceptions and show which one was it:
try: do_something_important() except Exception as e: e_name = type(e).__name__ logger.error("Exception happened (%s) while doing things", e_name)