Disabling an error that shows up when streamlit is run

When i launch streamlit, there is an error displayed in a big red box. I do not want that error to be displayed on the hosted screen. May I know how to disable it?