[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/master] Fix trivial bug in log message.
commit 5ce9401ae218ce664e87856bb9a5e54a5f591ded
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Wed Jul 4 01:03:15 2012 +0200
Fix trivial bug in log message.
---
src/org/torproject/ernie/cron/GetTorProcessor.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/org/torproject/ernie/cron/GetTorProcessor.java b/src/org/torproject/ernie/cron/GetTorProcessor.java
index 34190b6..d561784 100644
--- a/src/org/torproject/ernie/cron/GetTorProcessor.java
+++ b/src/org/torproject/ernie/cron/GetTorProcessor.java
@@ -146,7 +146,7 @@ public class GetTorProcessor {
logger.info("Finished processing statistics on Tor packages "
+ "delivered by GetTor.\nLast date in statistics is "
- + data.lastKey() + ".");
+ + (data.isEmpty() ? "(null)" : data.lastKey()) + ".");
}
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits