try:
  your.code.here()
except:
  # Prevent the error from propagating into your Streamlit app.
  pass