Open gianklug opened 1 year ago
Don't print stack traces by default but add a --debug parameter to optionally show them.
--debug
you'll want to consider using the log facility for this, specifically it's logging.exception method and the exc_info parameter
logging.exception
exc_info
Don't print stack traces by default but add a
--debug
parameter to optionally show them.