Capturing Error Events

Hi. I am looking to capture any instances where the error panel is displayed in the viewer, is there an event that is dispatched that I can add a listener to each time that the error panel is displayed?

I can see that there is a renderError event that is defined on the scene, but from my testing so far, I haven’t been able to capture this event.

It looks that the error panel is being triggered here

Can I configure the scene to fire a render event in all cases or is there an alternative/recommended way to raise an event when the error panel is displayed?


Hi there,

Thanks for pointing this out. It’s true that render loop errors cannot be thrown and handled by an app under the current configuration.

It should be fairly straightforward to add an event which is raised in the catch block. Would you have any interest in contributing this addition to the API?