We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When rendering a route if the user code throws an exception, display the stacktrace in the browser.
A simple try ... catch around the render function here, with the handler returning the traceback HTML, should do the job:
try ... catch
ema/src/Ema/Server.hs
Lines 64 to 66 in 15eeeb8
The text was updated successfully, but these errors were encountered:
Without handling exceptions the client websocket fails with Invalid frame header error, and this is shown on the server, repeatedly:
Invalid frame header
Here, "Unknown measure: TAGS" is the exception being thrown.
Sorry, something went wrong.
Resolution coming, with a trivial UI. It can be latter be enriched
a661aa5
No branches or pull requests
When rendering a route if the user code throws an exception, display the stacktrace in the browser.
A simple
try ... catch
around the render function here, with the handler returning the traceback HTML, should do the job:ema/src/Ema/Server.hs
Lines 64 to 66 in 15eeeb8
The text was updated successfully, but these errors were encountered: