Closed karelklima closed 3 years ago
@psiotwo I consider this report to be temporary and intended mostly for development purposes. We should not show the error details in production eventually, but rather monitor is using a dedicated service like Sentry (#122)
The goal of this PR is to give the user better error report if something goes wrong.
If an error origins from a XHR request, then it looks like this (the server message is displayed):
In-app errors are reported as 500 - stack trace or other details are usually meaningless for user, and if someone is interested she can see the full error in console anyway.
Resolves #121