Skip to content
Permalink
Browse files
Feedback implmentation
Removed link from error pages
Changed missed chatspeak string
  • Loading branch information
agiix committed May 2, 2020
1 parent 7d42171 commit 0f7e47fbb26140438e3da4906ca9d086f93931d2
Showing with 3 additions and 3 deletions.
  1. +1 −1 bridgedb/distributors/https/templates/error-400.html
  2. +1 −1 bridgedb/distributors/https/templates/error-500.html
  3. +1 −1 bridgedb/test/test_https_server.py
@@ -22,7 +22,7 @@
<div class="road full-size"></div>
<div class="error-text">
<h1>Bad Request</h1>
<p>Your request was not understood by the server.<a href="/">BridgeDB</a></p>
<p>Your request was not understood by the server.</p>
</div>
</main>
</div>
@@ -28,7 +28,7 @@
<div class="road full-size"></div>
<div class="error-text">
<h1>Internal Error</h1>
<p>BridgeDB encountered an internal error<a href="/">BridgeDB</a></p>
<p>BridgeDB encountered an internal error</p>
</div>
</main>
</div>
@@ -86,7 +86,7 @@ def test_replaceErrorPage_no_resource500(self):
``replaceErrorPage`` should return custom hardcoded HTML error text.
"""
request = DummyRequest([''])
exc = Exception("vegan gümmibären")
exc = Exception("Error while rendering")
server.resource500 = None
errorPage = server.replaceErrorPage(request, exc)
self.assertNotSubstring(b"Bad Request", errorPage)

0 comments on commit 0f7e47f

Please sign in to comment.