cha0smagick commited on
Commit
6c73801
1 Parent(s): e219e45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -104,6 +104,6 @@ if __name__ == "__main__":
104
  streamlit_app()
105
  except Exception as exception:
106
  import traceback
107
- st.session_state['logger'].error(f"An error occurred: {exception}")
108
- st.session_state['logger'].error(traceback.format_exc())
109
  st.error(f"An error occurred: {exception}")
 
104
  streamlit_app()
105
  except Exception as exception:
106
  import traceback
107
+ st.session_state.logger.error(f"An error occurred: {exception}")
108
+ st.session_state.logger.error(traceback.format_exc())
109
  st.error(f"An error occurred: {exception}")