Don't lock up websocket when sending error json; ref pterodactyl/panel#2076
This commit is contained in:
@@ -53,7 +53,7 @@ func getServerWebsocket(c *gin.Context) {
|
||||
}
|
||||
|
||||
if err := handler.HandleInbound(j); err != nil {
|
||||
handler.SendErrorJson(err)
|
||||
handler.SendErrorJson(j, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user