We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 959d567 + ffe222c commit ac7dd95Copy full SHA for ac7dd95
src/webjs.coffee
@@ -120,8 +120,7 @@ exports.GenericApp = class GenericApp
120
log_request: (req, res, data) ->
121
td = (new Date()) - req.start_date
122
@log('info', req.method + ' ' + req.url + ' ' + td + 'ms ' +
123
- (if res.finished then res._header.split('\r')[0].split(' ')[1] \
124
- else '(unfinished)'))
+ (if res.finished then res.statusCode else '(unfinished)'))
125
return data
126
127
log: (severity, line) ->
0 commit comments