Blazor hybrid - identifying source of unhandled exceptions
Hi,
I've inherited fairly large Blazor hybrid app based on Wpf.
Sometimes, the app shows the standard error : An unhandled error has occurred. Reload.
I read official docs on handling errors and as long as I understand there isn't any global event or anything that would help me to identify where this error comes from.
(I'm running the app from VS debugger but it doesn't break yet the error message shows. In DevTools in console is no error - I have verbose level. In VS debugger output is no message about error.)
Is there a way how to identoify it or I really have to go and add try catch into every single component, JavaScript, etc. ?
Many thanks