lionleaf / dwitter

Social network for short js demos
https://www.dwitter.net
Apache License 2.0
763 stars 69 forks source link

User errors in code supplied by url parameter broke error msging #523

Closed lionleaf closed 2 years ago

lionleaf commented 2 years ago

This fix allows the errors to behave similar to the case where code is supplied via messages.

The purpose of this is for the dweet not to crash, but rather send iframe messages with the error which can then be displayed to the user

When opening your Pull Request, we encourage you to do the following (you can add an X to check each task):

Required to make https://github.com/dwitter-net/dwitter-frontend/pull/92 work

lionleaf commented 2 years ago

Tested on old frontend and errors still work as expected there