mirror of
https://github.com/penpot/penpot.git
synced 2026-02-13 15:13:03 +00:00
✨ Terminate connection if incoming message cant be parsed.
This commit is contained in:
@@ -115,7 +115,8 @@
|
||||
(a/offer! input-ch message))
|
||||
(catch Throwable e
|
||||
(l/warn :hint "error on decoding incoming message from websocket"
|
||||
:cause e))))
|
||||
:cause e)
|
||||
(on-terminate))))
|
||||
|
||||
on-pong
|
||||
(fn [_ buffer]
|
||||
|
||||
Reference in New Issue
Block a user