[tor-commits] [sbws/master] scanner: Substitute log message with constant

juga at torproject.org juga at torproject.org
Thu Feb 28 11:09:52 UTC 2019


commit 8bd615434f5416cb0d0a9ce34defb14011d97810
Author: juga0 <juga at riseup.net>
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)",





More information about the tor-commits mailing list