Dash callbacks error handling

Hi,
i want to add global handler for the exceptions in callbacks
so i try to use this:
def handler_error(err):
logging.error(str(err))
set_props(“general_error”, dict(show=True, message=‘Polestar has encountered an error’))

app = dash.Dash(name, on_error=handler_error)
but when some exception occurred in a callback its doesn’t trigger the handler method

only when i explicitly raise exception in the callback its come to the handler method

Hello @leah,

What exception is not flagging the error handler?

Is there a specific callback, or is it all of them?