yrobel-lima commited on
Commit
2411fa7
·
verified ·
1 Parent(s): cceb9b5

Upload error_message_template.py

Browse files
Files changed (1) hide show
  1. utils/error_message_template.py +2 -2
utils/error_message_template.py CHANGED
@@ -3,7 +3,7 @@ from typing import Optional
3
  import streamlit as st
4
 
5
  ERROR_MESSAGE = (
6
- "Sorry, something went wrong. Our team is working on it.\n\n"
7
  "Please refresh the page or try again later. "
8
  "If the error persists, please contact us at "
9
  "[Tall Tree Health](https://www.talltreehealth.ca/contact-us)."
@@ -11,5 +11,5 @@ ERROR_MESSAGE = (
11
 
12
 
13
  def handle_errors(error: Optional[Exception] = None):
14
- st.warning(error if error else ERROR_MESSAGE, icon="🙁")
15
  st.stop()
 
3
  import streamlit as st
4
 
5
  ERROR_MESSAGE = (
6
+ "Sorry, we encountered an unexpected error.\n\n"
7
  "Please refresh the page or try again later. "
8
  "If the error persists, please contact us at "
9
  "[Tall Tree Health](https://www.talltreehealth.ca/contact-us)."
 
11
 
12
 
13
  def handle_errors(error: Optional[Exception] = None):
14
+ st.warning(error if error else ERROR_MESSAGE, icon="")
15
  st.stop()