[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [doctor/master] Fix error message.
commit 561ffcecea6f8d466c05719dfd06442a14c3e64f
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Mon Jan 16 11:38:53 2012 +0100
Fix error message.
---
src/org/torproject/doctor/StatusFileReport.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/org/torproject/doctor/StatusFileReport.java b/src/org/torproject/doctor/StatusFileReport.java
index 18def6f..040a687 100644
--- a/src/org/torproject/doctor/StatusFileReport.java
+++ b/src/org/torproject/doctor/StatusFileReport.java
@@ -50,8 +50,9 @@ public class StatusFileReport {
String line;
while ((line = br.readLine()) != null) {
if (!line.contains(": ")) {
- System.err.println("Bad line in stats/chc-last-warned: '"
- + line + "'. Ignoring this line.");
+ System.err.println("Bad line in "
+ + lastWarnedFile.getAbsolutePath() + ": '" + line
+ + "'. Ignoring this line.");
continue;
}
long warnedMillis = Long.parseLong(line.substring(0,
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits