Hello Team,
I have a Flask-Dash application and I am trying to define a global exception handler to catch and log any unhandled exceptions as per guidance in this article
app = Dash(on_error=custom_error_handler)
But, this gives me the following error:
File "xxxxx\oil-webapp\.venv\lib\site-packages\dash\_validate.py", line 360, in check_obsolete
raise TypeError(f"Dash() got an unexpected keyword argument '{key}'")
TypeError: Dash() got an unexpected keyword argument 'on_error'
Any suggestions ?
Thanks,
Sau