barbourww / I24-video-ingest

0 stars 1 forks source link

Exception handling within logbook loggers #3

Open barbourww opened 4 years ago

barbourww commented 4 years ago

Logbook has support for logging exceptions when they occur (i.e., logger.exception function and logger.catch_exceptions context manager). This hasn't been implemented or tested. Right now the non-fatal exceptions are just doing traceback.print_exc() to stdout. I'd like that info to go to log in the future.

barbourww commented 4 years ago

Log non-fatal and, arguably more importantly, fatal exceptions.