Catch errors and send to Sentry

Streamlit catches python errors/exceptions and displays them in a nice frontend widget.
How do I connect Sentry to Streamlit to log these errors?

Simply use loggin library:
logging.error("Test")

1 Like