You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If something like (throw (ex-info "message" {:some "data"})) goes unhandled, it would be useful to be able to see the data in the error message. Currntly that is not visible:
I've tried this but I don't see the ex-data in the viewer, does this work for you? Can you make it so it works with notebooks/boom.clj and paste a screenshot of the ex-data being shown?
Sorry, I should have tested this before opening a PR...
I'm not sure how this all works, but it looks to me like the ExceptionInfo thrown in Clojure is no longer an ExceptionInfo when it gets to the ClojureScript render code. I'll try to dig into it a bit further to see if I can work out what's going on if I have the time.
Since ex-data can contain things that can't be serialized or contain too much data to send over the wire, it's run through clerk's presentation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If something like

(throw (ex-info "message" {:some "data"}))goes unhandled, it would be useful to be able to see the data in the error message. Currntly that is not visible: