Config: hide tracebacks

In the advanced configuration settings, there is the possibility to hide the tracebacks to the app (i.e. the end user should not see the error messages).

# Controls whether uncaught app exceptions and deprecation warnings
# are displayed in the browser. By default, this is set to True and
# Streamlit displays app exceptions and associated tracebacks, and
# deprecation warnings, in the browser.

# If set to False, deprecation warnings and full exception messages
# will print to the console only. Exceptions will still display in the
# browser with a generic error message. For now, the exception type and
# traceback show in the browser also, but they will be removed in the
# future.

# Default: true
showErrorDetails = true

My question is, when will the traceback and error type from the app? And second, is it (or will it be) possible to customize this error message? Thank you very much (also happy to help with a pull request when I have an idea where to start).

1 Like

Hey @johanneswerner,

Thanks for sharing this question! Can you clarify what you mean by the following?

My question is, when will the traceback and error type from the app?

1 Like

I do not wish to show full tracebacks to the end users, however currently this is still the case.

And the documentation states

For now, the exception type and traceback show in the browser also, but they will be removed in the future.

… And I just noted that I forgot a word in my original question. Are there any plans when (which release or which time) it will be possible to hide the traceback outputs from the app and exclusively show them in the CLI?

1 Like

Good question! Let me check with our product team to figure out the timeline of that change – I’ll post an update here when I have more info

1 Like

@Caroline Any updates on this?

1 Like

What is the current status with the traceback messages?

1 Like