Skip to content

Commit

Permalink
Fix for startup error due to js syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
Catenocrypt committed Aug 28, 2020
1 parent d3d2c1b commit 768a957
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -1112,8 +1112,7 @@ if (use_websocket) {
}
try {
var connection = request.accept()
}
catch {
} catch (error) {
logThis('Bad protocol from connecting client', log_levels.info)
return
}
Expand Down

0 comments on commit 768a957

Please sign in to comment.