Don't lock up websocket when sending error json; ref pterodactyl/panel#2076

This commit is contained in:
Dane Everitt
2020-05-28 19:52:47 -07:00
parent 54510057bb
commit 82ffb9804d
2 changed files with 4 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ func getServerWebsocket(c *gin.Context) {
}
if err := handler.HandleInbound(j); err != nil {
handler.SendErrorJson(err)
handler.SendErrorJson(j, err)
}
}
}