Skip to content

Commit

Permalink
Merge a5b60fc into bb59c66
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-davidoi committed Oct 19, 2018
2 parents bb59c66 + a5b60fc commit ea5fd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -147,6 +147,6 @@ function HttpProxyMiddleware (context, opts) {
var errorMessage = '[HPM] Error occurred while trying to proxy request %s from %s to %s (%s) (%s)'
var errReference = 'https://nodejs.org/api/errors.html#errors_common_system_errors' // link to Node Common Systems Errors page

logger.error(errorMessage, req.url, hostname, target, err.code, errReference)
logger.error(errorMessage, req.url, hostname, target, err.code || err, errReference)
}
}

0 comments on commit ea5fd0e

Please sign in to comment.