Closed BYK closed 4 months ago
We got some parsing errors recently when using gib-potatoe as our testbed. Turns out our initial parser is a bit naive and cannot work with certain payloads.
This PR rewrites the parser based on the spec at https://develop.sentry.dev/sdk/envelopes/#serialization-format
It also adds new test cases where the old parser fails some of them.
Hoping this parser to be a bit more efficient too.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
We got some parsing errors recently when using gib-potatoe as our testbed. Turns out our initial parser is a bit naive and cannot work with certain payloads.
This PR rewrites the parser based on the spec at https://develop.sentry.dev/sdk/envelopes/#serialization-format
It also adds new test cases where the old parser fails some of them.
Hoping this parser to be a bit more efficient too.