WatchDog try-catches make development very tricky #5704
Labels
package:engine
package:utils
package:watchdog
type:task
This issue reports a chore (non-production change) and other types of "todos".
Milestone
E.g. try-catch inside the
EmitterMixin#fire
.When you make a simple mistake inside a listener callback (typo or something) it's not easy to find out what happened. The original error is caught, wrapped and rethrown. The stack of the original error is stored as a string inside some nested property. You can't click it to move the place where the error happened. It seriously decreases DX.
I think It should be a flag to disable WatchDog try-catches.
The text was updated successfully, but these errors were encountered: