taiga-family / micro-sentry

Tiny Sentry client with idiomatic wrapper for Angular
Apache License 2.0
35 stars 3 forks source link

Every `extras` property seems to be stringified a second time #25

Closed alexciesielski closed 7 months ago

alexciesielski commented 7 months ago

(not sure if bug or feature request)

I view reported issues in GlitchTip. In the Additional Data section, which I populate using setExtra every string is wrapped in quotes, and every JSON object (which I already stringified because setExtra only accepts strings) is escaped with backslashes, leading to very unreadable JSON data.

image

Request:

Either allow passing objects to setExtra or do not stringify string properties a second time

alexciesielski commented 7 months ago

Hmm, it seems that it's not actually micro-sentry but me who passes an escaped string to micro-sentry 🤔

image

Closing as it seems to be an issue on my side, sorry for the confusion.