diff --git a/services/web/app/errors/__init__.py b/services/web/app/errors/__init__.py index 062221df..ba8c4436 100644 --- a/services/web/app/errors/__init__.py +++ b/services/web/app/errors/__init__.py @@ -132,10 +132,7 @@ def gone(e="410: Gone", json=False): @errorhandler(Exception) @errorhandler(InternalServerError.code) -def internal_error(exce): - if os.environ["FLASK_CONFIG"] == "development": - raise exce - +def internal_error(e="500: Encountered a bigly error", json=False): return handle_error( InternalServerError.code, InternalServerError.description, diff --git a/services/web/app/templates/error.html b/services/web/app/templates/error.html index 9c185685..fc8bfafb 100644 --- a/services/web/app/templates/error.html +++ b/services/web/app/templates/error.html @@ -7,14 +7,9 @@
-
-
-

- {{ code }}

-
-
-

{{ smiley }}

-
+

Error Code: {{ code }} {{ smiley }}

+

{{ text }}

+
@@ -24,11 +19,21 @@

{{ smiley }}

-

{{ text }}

+

Part of being free and open is our willingness to participate in public bug tracking. We make use of GitHub to help orchestrate development of LImBuS.

+ +

If you would like to submit a bug report then you are required to sign up, but don't worry - it's completely free to use.

+ +

We understand that many of our users are going to be new to to this, and understand that it may be difficult to submit your first bug. We advise that you follow this simple step-by-step guide to get started:

+
    +
  1. Visit the Issues page on our GitHub.
  2. +
  3. Search the issue list to ensure that your report hasn't been filed already. If your report has already been filed by someone else, comment that you are experiencing the same problem - so we know that you're also affected.
  4. +
  5. If you believe your bug is a new one, then feel free to create a "New Issue". Type in a complete summary and description of your issue and submit it.
  6. +

🤓 Stuff For Our Geeks

+

We might ask you for this when trying to help. Just press the blue button on the bottom right and paste it into the Issue to let us help you quicker.