Superset config related query #31782
-
Unexpected errors and db errors are showing in the superset dashboard. Modified the configuration file (superset_config.py) and set the DEBUG parameter to False; But it won't help. We need not display the error messages in the UI dashboard to endusers |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @SathishkumarAIT! I'm here to help you with any bugs, questions, or contributions you have for Superset. Let's work together to solve this issue! To prevent error messages from being displayed to end users in the UI dashboard, setting Ensure that your customizations are correctly implemented in the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
Hey @SathishkumarAIT! I'm here to help you with any bugs, questions, or contributions you have for Superset. Let's work together to solve this issue!
To prevent error messages from being displayed to end users in the UI dashboard, setting
DEBUG
toFalse
andSHOW_STACKTRACE
toFalse
insuperset_config.py
is a good start. However, for further customization or suppression of error messages, you can use thesetupErrorMessagesExtra
function. This function allows you to add custom error messages or suppress them entirely, beyond the basic configuration settings [1][2].Ensure that your customizations are correctly implemented in the
setupErrorMessagesExtra
function to achieve the desired behav…