Debug mode deployment

Hi Folks,

First of all, thank you so much for this awesome library and the work done.
I am trying to deploy my stramlit app in AWS, and I wonder if there is a debug mode to not showing some code when possible errors occur to our users. In that code chunks that I can expect an error, I have added a try-except, but I would like to be safe on those unexpected. Is there any option different from including all the code in a try-except?
Thank you so much!

Happy coding

Hey,

I too would love for a page_config that stops these errors from showing. I’m still using try-except for all my code. I hope someone has figured out another work around.