[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/master] Yes, we already know that we have a database problem.
commit 14bf37488c5774f87adac9762bd35900662769c9
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Mon Nov 7 15:44:36 2011 +0100
Yes, we already know that we have a database problem.
---
src/org/torproject/ernie/web/RelayServlet.java | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/org/torproject/ernie/web/RelayServlet.java b/src/org/torproject/ernie/web/RelayServlet.java
index 037a1e4..64f343d 100644
--- a/src/org/torproject/ernie/web/RelayServlet.java
+++ b/src/org/torproject/ernie/web/RelayServlet.java
@@ -184,7 +184,10 @@ public class RelayServlet extends HttpServlet {
out.println("<p><font color=\"red\"><b>Warning: </b></font>We "
+ "experienced an unknown database problem while looking up "
+ "the relay with fingerprint starting with "
- + fingerprintParameter + ". If this problem persists, please "
+ + fingerprintParameter + ". Unfortunately, this is very "
+ + "likely a <a href=\"https://trac.torproject.org/projects/"
+ + "tor/ticket/4406\">known problem</a>. If you don't think "
+ + "these problems are related, please "
+ "<a href=\"mailto:tor-assistants@xxxxxxxxxxxxxx\">let us "
+ "know</a>!</p>\n");
writeFooter(out);
@@ -279,7 +282,10 @@ public class RelayServlet extends HttpServlet {
+ "experienced an unknown database problem while looking up "
+ "the relay with fingerprint "
+ (fingerprintParameter.length() < 40 ? "starting with " : "")
- + fingerprintParameter + ". If this problem persists, please "
+ + fingerprintParameter + ". Unfortunately, this is very likely "
+ + "a <a href=\"https://trac.torproject.org/projects/tor/ticket"
+ + "/4406\">known problem</a>. If you don't think these "
+ + "problems are related, please "
+ "<a href=\"mailto:tor-assistants@xxxxxxxxxxxxxx\">let us "
+ "know</a>!</p>\n");
writeFooter(out);
@@ -330,8 +336,10 @@ public class RelayServlet extends HttpServlet {
} catch (SQLException e) {
out.write("<br/><p><font color=\"red\"><b>Warning: </b></font>"
+ "Internal server error when looking up descriptor. The "
- + "query was '" + query + "'. If this problem persists, "
- + "please "
+ + "query was '" + query + "'. Unfortunately, this is very "
+ + "likely a <a href=\"https://trac.torproject.org/projects/"
+ + "tor/ticket/4406\">known problem</a>. If you don't think "
+ + "these problems are related, please "
+ "<a href=\"mailto:tor-assistants@xxxxxxxxxxxxxx\">let us "
+ "know</a>!</p>\n");
writeFooter(out);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits