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

Send additional context info #69

Open
wclr opened this issue Jul 5, 2019 · 3 comments
Open

Send additional context info #69

wclr opened this issue Jul 5, 2019 · 3 comments

Comments

@wclr
Copy link

wclr commented Jul 5, 2019

Not sure how should I solve if I wan't to send with error additinal info about user context, for example, current browser window size?

I thought it could be added to context obj, but it seems it doesn't work this way. And context.user is just a string, should I stringify all the context info into this prop?

How this case should be handled? I think this problem should be mentioned in docs.

@steren
Copy link
Collaborator

steren commented Jul 8, 2019

Stackdriver Error Reporting does not allow to pass arbitrary labels.

You would need to add this information to the error message

@wclr
Copy link
Author

wclr commented Jul 8, 2019

How is this usually done with stackdriver-errors-js?

@danielpetrocchi
Copy link

How is this usually done with stackdriver-errors-js?

How have you solved the issue in the end?

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

No branches or pull requests

3 participants