Ritesh-hf commited on
Commit
acb9f6f
1 Parent(s): 37beec1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -212,7 +212,7 @@ async def websocket_endpoint(websocket: WebSocket):
212
  await stream_response()
213
  except Exception as e:
214
  print(f"Error during message handling: {e}")
215
- await websocket.send_json({'response': "Something went wrong, Please try again.."})
216
  except WebSocketDisconnect:
217
  print(f"Client disconnected: {websocket.client}")
218
  if session_id:
 
212
  await stream_response()
213
  except Exception as e:
214
  print(f"Error during message handling: {e}")
215
+ await websocket.send_json({'response': "Something went wrong, Please try again." + str(e)})
216
  except WebSocketDisconnect:
217
  print(f"Client disconnected: {websocket.client}")
218
  if session_id: