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

[Feature] setMetaData #121

Closed
dimsav opened this issue May 5, 2016 · 2 comments
Closed

[Feature] setMetaData #121

dimsav opened this issue May 5, 2016 · 2 comments

Comments

@dimsav
Copy link

dimsav commented May 5, 2016

Hello,

As we can see in the error class when we use setMetaData() the existing meta data gets merged with the one passed as an argument.

Is it possible to implement this feature for the client class here?

The reason that is useful is because sometimes we want to pass different meta data in different places of the app. For example a user_id at the authentication service and some other value at some other place of the code. Calling setMetaData() twice will keep only the latest information.

Thanks for this nice package!

@nickma42
Copy link

@dimsav you can use setUser() which will actually make a User tab in the interface and works separately to the setMetaData() so there's no overwriting.

BUT

@bugsnag-github it'd be great to have an addMetaData because we have metadata we need to report on from lots of different stages of our app.

@GrahamCampbell
Copy link
Contributor

We've got this implemented now. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants