Did you have any luck narrowing this down to a root cause?
For us this only seems to occur when starting the app offline.
All our server / user calls are try-except wrapped
This does indeed look like a bug at our end. We’re looking into it, and in the meantime @mark.breuss’s workaround is the best one, although I do know it’s ugly! Will update this thread as soon as we have more information for you.
@mark.breuss can probably share the bit of the error handler that was helping to filter out these errors, my guess is it looked something like
import anvil
import anvil.js
def custom_error_handler(err):
if isinstance(err, anvil.js.ExternalError):
print(err) # ignore errors from javascript
else:
raise err # let the default error handler show it to the user
anvil.set_default_error_handling(custom_error_handler)