Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -113,8 +113,8 @@ async def get_file_content(websocket, key,project_name, path,connected):
|
|
113 |
except Exception as e:
|
114 |
event = {
|
115 |
"type": "error",
|
116 |
-
"message": f"Failed to read file content: {str(e)}"
|
117 |
-
|
118 |
await websocket.send(json.dumps(event))
|
119 |
|
120 |
|
|
|
113 |
except Exception as e:
|
114 |
event = {
|
115 |
"type": "error",
|
116 |
+
"message": f"Failed to read file content: {str(e)}",
|
117 |
+
}
|
118 |
await websocket.send(json.dumps(event))
|
119 |
|
120 |
|