jenkins-bot submitted this change.
Revert "[IMPR] flush: log the traceback when exiting by exception"
This reverts commit d90ef8ab9d057d241a8547d446b3d5da127299f0.
Reason for revert: Did not work as indented - only showed the object
Change-Id: Ic50846d7fa4d18c25c56cd387c3cf5b79bbd38e2
---
M pywikibot/comms/http.py
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/pywikibot/comms/http.py b/pywikibot/comms/http.py
index 1a8f580..7828acf 100644
--- a/pywikibot/comms/http.py
+++ b/pywikibot/comms/http.py
@@ -115,7 +115,6 @@
session.close()
if hasattr(sys, 'last_type'):
- log(sys.last_traceback)
critical(f'Exiting due to uncaught exception {sys.last_type}')
log('Network session closed.')
To view, visit change 892415. To unsubscribe, or for help writing mail filters, visit settings.