chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
eb6dcb5
)
logging: if logevent_is_boringtwisted fails, print why when we print the exception
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 23 Apr 2017 19:51:14 +0000
(20:51 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 23 Apr 2017 19:51:14 +0000
(20:51 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
hippotatlib/__init__.py
patch
|
blob
|
history
diff --git
a/hippotatlib/__init__.py
b/hippotatlib/__init__.py
index 9c2ebfd869f459fd4721b13d1e36b40dc494e51e..588012a2a845ef40c7c7f1bf2171ff355e4a2b8f 100644
(file)
--- a/
hippotatlib/__init__.py
+++ b/
hippotatlib/__init__.py
@@
-110,7
+110,8
@@
def logevent_is_boringtwisted(event):
if dflag is None and DBG.TWISTED in debug_set: return False
return True
except Exception:
- print(traceback.format_exc(), file=org_stderr)
+ print('EXCEPTION (IN BORINGTWISTED CHECK)',
+ traceback.format_exc(), file=org_stderr)
return False
@implementer(twisted.logger.ILogFilterPredicate)