stackdriver-errors-js
stackdriver-errors-js copied to clipboard
Send additional context info
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.
Stackdriver Error Reporting does not allow to pass arbitrary labels.
You would need to add this information to the error message
How is this usually done with stackdriver-errors-js?
How is this usually done with stackdriver-errors-js?
How have you solved the issue in the end?