Unhandled exceptions thrown from visualization code (during setup script execution or when rendering) usually cause the whole visualization stack to collapse.
My initial experiments as part of https://github.com/enso-org/enso/issues/11426 were unsatisfactory. To detect an error, we need to at least try to instantiate the visualization component. But if the error happens, Vue reports it as an unhandled exception in the console even when we handle it in the onErrorCaptured hook.
We should implement proper error handling for both built-in and user-defined visualizations.
Unhandled exceptions thrown from visualization code (during setup script execution or when rendering) usually cause the whole visualization stack to collapse.
My initial experiments as part of https://github.com/enso-org/enso/issues/11426 were unsatisfactory. To detect an error, we need to at least try to instantiate the visualization component. But if the error happens, Vue reports it as an unhandled exception in the console even when we handle it in the
onErrorCaptured
hook.We should implement proper error handling for both built-in and user-defined visualizations.