Created
August 24, 2017 13:07
-
-
Save delvedor/7ef04acc31e04a1700f224ef91e2cd70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setImmediate( | |
runHooks, | |
new State(req, res), | |
hookIterator, | |
reply.store.onResponse, | |
onFinishResponse | |
) | |
function onFinishResponse (err) { | |
if (err) { | |
this.req.log.error(err) | |
} | |
log[useLevel]({ | |
res: this.res, | |
responseTime: responseTime | |
}, 'request completed') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment