[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] scanner: Substitute log message with constant
commit 8bd615434f5416cb0d0a9ce34defb14011d97810
Author: juga0 <juga@xxxxxxxxxx>
Date: Wed Feb 27 17:05:38 2019 +0000
scanner: Substitute log message with constant
when dumping stack.
---
sbws/core/scanner.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sbws/core/scanner.py b/sbws/core/scanner.py
index a1206d3..06bae72 100644
--- a/sbws/core/scanner.py
+++ b/sbws/core/scanner.py
@@ -60,9 +60,7 @@ signal.signal(signal.SIGTERM, stop_threads)
def dumpstacks():
import traceback
- log.critical("sbws stop measuring relays, probably because of a bug."
- "Please, open a ticket in trac.torproject.org with this"
- "backtrace.")
+ log.critical(FILLUP_TICKET_MSG)
thread_id2name = dict([(t.ident, t.name) for t in threading.enumerate()])
for thread_id, stack in sys._current_frames().items():
log.critical("Thread: %s(%d)",
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits