From 72491250b7d096802bc757800e631ba323b389f6 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 13 Feb 2020 20:10:54 +0100 Subject: [PATCH] Add more details to 500 page if user has debug disabled. --- .../views/v1/errors/FireflyException.twig | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/resources/views/v1/errors/FireflyException.twig b/resources/views/v1/errors/FireflyException.twig index a11a59c0a5..50ce52bc2a 100644 --- a/resources/views/v1/errors/FireflyException.twig +++ b/resources/views/v1/errors/FireflyException.twig @@ -41,7 +41,7 @@

- Unfortunately, this error was not recoverable. Firefly III broke. The error is: + Unfortunately, this error was not recoverable :(. Firefly III broke. The error is:

{{ exception.getMessage |default('General unknown errror') }} @@ -52,13 +52,22 @@

- More information about this error may be available in the log files. Search for the error above and a stack trace - will appear. This stack trace may help you track down what's going wrong. + More information
+ Please collect more information in the storage/logs directory where you will find + log files. If you're running Docker, use docker logs -f [container]. + You can read more about collecting error information in the FAQ.

- If you cannot find the cause of this error or when you need some help, please open a ticket on - GitHub. + Get help on GitHub
+ You're more than welcome to open a new issue on GitHub.

+
    +
  1. Use the search!
  2. +
  3. Include the information from this debug page.
  4. +
  5. Tell us more than "it says Whoops!"
  6. +
  7. Include error logs (see above).
  8. +
  9. Tell us what you were doing.
  10. +
{% endif %}