adfinis / timedctl

GNU Affero General Public License v3.0
5 stars 0 forks source link

Better error handling #18

Open gianklug opened 1 year ago

gianklug commented 1 year ago

Don't print stack traces by default but add a --debug parameter to optionally show them.

hairmare commented 1 year ago

you'll want to consider using the log facility for this, specifically it's logging.exception method and the exc_info parameter