replit/kaboom

Prevent blue error screen

peratik opened this issue · 12 comments

image

Hi, How can prevent blue error screen?

Normally blue screen error means there's an error that's unrecoverable and should be fixed, but this one looks like a bug where someplace threw a string instead of an Error. Is there any console output?

the error is not related tokaboom codes.

Doesn't onError work for this?

onError adds your own error handler but doesn't replace this error screen. If the error is unrelated to kaboom then it's a bug, it's fixed in v3000.1.7, you can try update kaboom to the latest version

Isn't v3000.1.13 the latest version?

You're already on v3000.1.13 and getting error screen from non-Kaboom Error? That's weird. What is the error, can you share the console output?

We use kaboom canvas inside an iframe. It may be a reason to that if there is already a fix.
Error message in the parent iframe display inside kaboom that exists in child iframe.

Do you have an example I can reproduce? Also what is the error message in the console output?

This is an example:

https://coffee-adria-35.tiiny.site/

Click on the button.

Oh sorry I got it mixed up, the fix is not yet published, will be published to the next version soon

Hi, Any ETA for releasing the next version?

v3000.0.15 is released, which includes the fix