dobinyim commited on
Commit
3bd1b51
1 Parent(s): e3eb2ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ async def main(message: cl.Message):
110
  logger.info("Message processed successfully")
111
  except KeyError as e:
112
  logger.error(f"Session error: {e}")
113
- await cl.Message(content="An error occurred. Please restart the chat.").send()
114
  except Exception as e:
115
  logger.error(f"Unexpected error: {e}")
116
  await cl.Message(content="An unexpected error occurred. Please try again.").send()
 
110
  logger.info("Message processed successfully")
111
  except KeyError as e:
112
  logger.error(f"Session error: {e}")
113
+ await cl.Message(content="Session is disconnected. Please restart the chat.").send()
114
  except Exception as e:
115
  logger.error(f"Unexpected error: {e}")
116
  await cl.Message(content="An unexpected error occurred. Please try again.").send()