rescue ArgumentError in websocket server for now to keep it running
This commit is contained in:
parent
c4a4516369
commit
3bbc34600b
1 changed files with 2 additions and 2 deletions
|
|
@ -84,8 +84,8 @@ begin
|
|||
debug_pp "Could not unsubscribe socket for #{user_id}"
|
||||
end
|
||||
}
|
||||
rescue RuntimeError => e
|
||||
debug_pp "Could not open socket for request with cookie: #{ws.request["Cookie"]}"
|
||||
rescue RuntimeError, ArgumentError => e
|
||||
debug_pp "Could not open socket for request with cookie: #{ws.request["cookie"]}"
|
||||
debug_pp "Error was: "
|
||||
debug_pp e
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue