Skip to content

Commit

Permalink
Merge pull request #590 from gbregman/devel
Browse files Browse the repository at this point in the history
Ignore logging exceptions
  • Loading branch information
gbregman authored Apr 17, 2024
2 parents e878d10 + 36930a7 commit a13e6c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions control/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ def __init__(self, config=None):
if self.handler:
return

logging.raiseExceptions = False
format_string = "[%(asctime)s] %(levelname)s %(filename)s:%(lineno)d: %(message)s"
date_fmt_string = "%d-%b-%Y %H:%M:%S"
frmtr = logging.Formatter(fmt=format_string, datefmt=date_fmt_string)
Expand Down

0 comments on commit a13e6c6

Please sign in to comment.