[tor-commits] [stem/master] Log thread tracebacks on stderr

atagar at torproject.org atagar at torproject.org
Tue Apr 16 17:10:12 UTC 2019


commit 57f38b8af9c1a7c6b48afaa37554a0cc8a2644bf
Author: Damian Johnson <atagar at torproject.org>
Date:   Tue Apr 16 10:09:01 2019 -0700

    Log thread tracebacks on stderr
    
    Damn me! While I was working on this I was careful to print to stderr but then
    forgot the attribute in the final patch.
---
 run_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run_tests.py b/run_tests.py
index 6d0951e9..642644c7 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -101,7 +101,7 @@ def log_traceback(sig, frame):
     lines.append(stacktrace)
 
   lines.append('=' * 80)
-  println('\n'.join(lines))
+  println('\n'.join(lines), STDERR)
 
   # propagate the signal to any multiprocessing children
 



More information about the tor-commits mailing list