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

[tor-commits] [sbws/master] Log when there are no recent results



commit 3d42c902e99767d40fd6efd89cecac4da3eb06c0
Author: juga0 <juga@xxxxxxxxxx>
Date:   Mon Oct 15 10:20:48 2018 +0000

    Log when there are no recent results
---
 sbws/lib/v3bwfile.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index f0cd64a..be79885 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -287,6 +287,8 @@ class V3BWLine(object):
                 return None
             results_recent = cls.results_recent_than(results_away, secs_recent)
             if not results_recent:
+                log.debug("There are no results that are more recent than {}"
+                          " secs".format(secs_recent))
                 return None
             # the most recent should be the last
             kwargs['desc_avg_bw_bs'] = \



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