Logging Big JSON Object


#1

I am developing a Game, and when the user resumes a savegame, I want to log the savegame as JSON using the Sentry Javascript api.

I am using addBreadcrumb() with the data parameter. The savegame is also shown but is cutted after a given amount of characters: http://prntscr.com/mb2n1j

Is there a better way to store this data? I need the savegame to be able to reproduce the issue.


#2

We’re working on some newer APIs which would support larger data payloads (attachments). Unfortunately right now you’re going to be beholden to whatever the event restrictions are.