Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format errors passed as data to request.log #104

merged 1 commit into from Feb 15, 2018


Copy link

auzwang commented Feb 15, 2018

This PR attempts to address #84 where request.log(['error', 'database', 'read'], new Error('message')) results in empty data being logged. It appears #86 no longer applies. When an error is passed as data to request.log, it is assigned to an error field.

@arb arb added this to the 7.1.0 milestone Feb 15, 2018
@arb arb self-assigned this Feb 15, 2018
@arb arb merged commit da92807 into hapijs:master Feb 15, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
@auzwang auzwang deleted the auzwang:data-error-format branch Feb 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.