1. Ernesto Menéndez
  2. nx-web


Ernesto Menéndez  committed 3df9cea

agregue un try a una excepcion

  • Participants
  • Parent commits f9ea80f
  • Branches default

Comments (0)

Files changed (1)

File nxweb/apps/wmanws/__init__.py

View file
  • Ignore whitespace
             "tasks_done":     worker_manager.get_tasks_done_list_monitor()}
     data = json.dumps(data)
     for ws in _monitor_websockets:
-        ws.send(data)
+        try:
+            ws.send(data)
+        except:
+            print debut("Warning: error sending data on web socket to monitor")
 def accept_ws_connection(environ, start_response):
     """Handles the websocket connection request"""