GoogleCloudPlatform / GoogleCloudPlatform/stackdriver-errors-js

Send additional context info

Offen
#69 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
360
Forks
54
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.