Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

fix(hapi): do not overwrite tags of events#147

Merged
watson merged 2 commits intoopbeat:masterfrom
AdriVanHoudt:hapitags
May 18, 2017
Merged

fix(hapi): do not overwrite tags of events#147
watson merged 2 commits intoopbeat:masterfrom
AdriVanHoudt:hapitags

Conversation

@AdriVanHoudt
Copy link
Copy Markdown
Contributor

This caused bugs (tags being [object Object]) in other log handlers that log to other places. 😱

This change will cause the tags in the extra field in to be
tags ['error', 'email']
instead of
tags {'error': True, 'email': True}

which seems like an overall improvement 👌

@AdriVanHoudt
Copy link
Copy Markdown
Contributor Author

Build failing on node 7 test/instrumentation/modules/mongodb-core.js so not related to this PR (afaik)

@AdriVanHoudt
Copy link
Copy Markdown
Contributor Author

@watson sorry to ping but this breaks our logging more than I thought, could you take a look? 👼

@watson
Copy link
Copy Markdown
Contributor

watson commented May 18, 2017

@AdriVanHoudt yes, the 7.x failures are a "bug" in the latest version of Node 7. It will be fixed in the next release which is being released shortly

@watson watson merged commit 2144212 into opbeat:master May 18, 2017
@watson
Copy link
Copy Markdown
Contributor

watson commented May 18, 2017

@AdriVanHoudt Thanks 😃 It's published in version 4.13.2

@AdriVanHoudt AdriVanHoudt deleted the hapitags branch May 18, 2017 20:15
@AdriVanHoudt
Copy link
Copy Markdown
Contributor Author

Awesome thanks! 💪

watson added a commit that referenced this pull request May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants