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

[tor-commits] [sbws/master] Warn when exception might be caused by no disk space



commit 66189d6ffed40bac6b7e2e6d111ec68925d71af0
Author: juga0 <juga@xxxxxxxxxx>
Date:   Thu Jul 12 21:32:32 2018 +0000

    Warn when exception might be caused by no disk space
---
 sbws/lib/circuitbuilder.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sbws/lib/circuitbuilder.py b/sbws/lib/circuitbuilder.py
index e3b3950..66687b0 100644
--- a/sbws/lib/circuitbuilder.py
+++ b/sbws/lib/circuitbuilder.py
@@ -65,7 +65,9 @@ class CircuitBuilder:
                 pass
             self.built_circuits.discard(circ_id)
         except (ControllerError, ValueError) as e:
-            log.exception("Error trying to get circuit to close it: %s.", e)
+            log.warning("Error trying to get circuit to close it: %s.", e,
+                        "If sbws didn't receive SIGHUP, "
+                        "maybe this system run out of disk space.")
 
     def _build_circuit_impl(self, path):
         if not valid_circuit_length(path):



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