[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 57f38b8af9c1a7c6b48afaa37554a0cc8a2644bf
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
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
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits