re-frame
re-frame copied to clipboard
[Enhancement]: unwrap interceptor should show event id to help locate implementation
What do you suggest?
The unwrap
intereceptor correctly detects when event is not dispatched with the correct signature. However, in order to help debug the problem, the error should include the id of the event, so that one can more easily find the handler implementation or more importantly, the dispatch point
Currently shows: re-frame: \"unwrap\" interceptor must be a vector of two elements \"[event-id payload-map]