mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 20:38:05 +00:00
properly call logging.exception
This commit is contained in:
@@ -140,7 +140,7 @@ def main():
|
|||||||
else:
|
else:
|
||||||
logging.warn("request had no answer: %r", msg)
|
logging.warn("request had no answer: %r", msg)
|
||||||
except Exception:
|
except Exception:
|
||||||
logging.exception()
|
logging.exception("Exception in the handler")
|
||||||
raise
|
raise
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user