Browse Source

Don't log "connection reset" errors

master
Sven Slootweg 7 years ago
parent
commit
c77b9d63d2
  1. 5
      app.coffee
  2. 17518
      public/js/bundle.js

5
app.coffee

@ -6,6 +6,11 @@ domain = require "domain"
app = express()
reportError = (err, type = "error", sync = false) ->
if err.code == "ECONNRESET"
# We're not interested in these for now, they're just aborted requests.
# TODO: Investigate whether there may also be other scenarios where an ECONNRESET is raised.
return
errorPayload = {}
Object.getOwnPropertyNames(err).forEach (key) ->

17518
public/js/bundle.js
File diff suppressed because it is too large
View File

Loading…
Cancel
Save