getsentry / raven-go

Sentry client in Go
https://sentry.io
BSD 3-Clause "New" or "Revised" License
561 stars 147 forks source link

Context tags - behavior when value is "" (empty string)? #251

Open cjcjameson opened 5 years ago

cjcjameson commented 5 years ago

Right now, if you set a context tag (https://docs.sentry.io/enriching-error-data/context/?platform=javascript#tagging-events) but the value is empty, you get an error in the sentry UI

Screen Shot 2019-04-08 at 5 22 15 PM

Perhaps this is best handled at the server-side rather than in the client, but it's frustrating -- I'd prefer if the behavior were to drop it silently, or allow it meaningfully.

Is there anything client side we can do (aside from not leaving the field blank)?