Skip to content

Commit

Permalink
feat(logging) remove line-break in error log.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudmu committed Sep 1, 2016
1 parent 8be5919 commit a465761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@ function HttpProxyMiddleware(context, opts) {
var target = proxyOptions.target.host || proxyOptions.target;
var errReference = 'https://nodejs.org/api/errors.html#errors_common_system_errors'; // link to Node Common Systems Errors page

logger.error('[HPM] Error occurred while trying to proxy request %s from %s to %s (%s) \n(%s)', req.url, hostname, target, err.code, errReference);
logger.error('[HPM] Error occurred while trying to proxy request %s from %s to %s (%s) (%s)', req.url, hostname, target, err.code, errReference);
}
};

0 comments on commit a465761

Please sign in to comment.