We’ve just released a new event type, “An un-handled error happens”.
This is similar to “An element had an error running a workflow”, but it’s not tied to a specific element. It will also catch errors that weren’t caused by a workflow (a file upload failing, for instance).
This is a good way of replacing the default error popup with something more customized to your apps’ design, such as a styled Alert element.
More information here: https://bubble.io/reference#Events.OnPageError