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

[tor-commits] [atlas/master] Show better error message for search errors.



commit 70d1636d266ef05acdefcfff257774d2a8625f23
Author: Philipp Winter <phw@xxxxxxxxxxxxxx>
Date:   Wed Mar 18 00:52:36 2015 +0100

    Show better error message for search errors.
    
    If Atlas cannot get a response from Onionoo, it's not always the user's
    fault.  This fix changes the error message to make that clear.
    Hopefully, this will result in less bug reports when Onionoo is offline.
---
 templates/search/do.html |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/templates/search/do.html b/templates/search/do.html
index ddbd21d..dfb0fc1 100644
--- a/templates/search/do.html
+++ b/templates/search/do.html
@@ -14,11 +14,13 @@
     </div>
     <% } else if (error == 2) {%>
     <div class="alert alert-error">
-        <strong>Backend error!</strong><p>The backend server replied with an error
-to your query. This probably means that you did not properly format your query.
-If your query was properly formatted it may mean that there is an issue with your browser/add-ons.
-Please report which browser/addons/etc. you're using to <a href="https://trac.torproject.org/projects/tor/newticket?component=Atlas";>the bug tracker.</a>
-    </p>
+        <strong>Backend error!</strong>
+        <p>Atlas is unable to get a response from its backend server. This
+        probably means that the backend server is unavailable right now. This
+        can also happen, however, if you did not format your query correctly.
+        Please have a look at <a href="https://atlas.torproject.org/#about";>this
+        page</a> that explains what type of search queries are supported by
+        Atlas.</p>
     </div>
     <% } else if (error == 3) {%>
     <div class="alert alert-error">

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