Skip to content

Commit

Permalink
Merge pull request #11 from catenocrypt/js-catch-fix
Browse files Browse the repository at this point in the history
Fix for startup error due to js syntax #10
  • Loading branch information
Joohansson authored Aug 28, 2020
2 parents d3fb5f0 + 768a957 commit 48d20b7
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 48d20b7

Please sign in to comment.