day8 / re-frame-10x

A debugging dashboard for re-frame. X-ray vision as tooling.
MIT License
634 stars 68 forks source link

Handling exceptions in the Events panel #273

Open stumitchell opened 4 years ago

stumitchell commented 4 years ago

Currently traced events can raise exceptions and still have their trace shown in the panel.

However the Exception isn't displayed, and there is no visual indication that something went wrong (apart from half of the trace missing) Screenshot 2020-07-17 at 14 34 33

If the exception is shown the trace screen would be a fantastic help to determine what went wrong as it would show the values of the fragments that lead up to the error.

I suggest that the form that caused the exception should be traced and displayed in red. and the value of that form should be the error and it should be displayed somewhere by default.

day8.re-frame/tracing will need to be changed to take this into account.

see https://github.com/day8/re-frame-debux/issues/34