Ritesh-hf commited on
Commit
ffbbe52
1 Parent(s): 4d376bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -198,7 +198,7 @@ def handle_message(data):
198
  emit('response', chunk, room=request.sid)
199
  except Exception as e:
200
  print(f"Error during message handling: {e}")
201
- emit('response', {"error": "An error occurred while processing your request."}, room=request.sid)
202
 
203
 
204
  # Home route
 
198
  emit('response', chunk, room=request.sid)
199
  except Exception as e:
200
  print(f"Error during message handling: {e}")
201
+ emit('response', "An error occurred while processing your request." + str(e), room=request.sid)
202
 
203
 
204
  # Home route