-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
explicitly mark failed payloads >1MB as not retryable #65
Conversation
|
||
delivery({ _config: config, _logger: { error: log, info: () => {} } }, fetch).sendEvent(payload, (err) => { | ||
expect(didLog).toBe(true) | ||
expect(enqueueSpy).not.toHaveBeenCalled() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests are going to fail here until https://github.com/bugsnag/bugsnag-js/pull/1823/files#diff-b6197bd8422edfa11579021015a96f02f31bc20634ad051b821c01e4ce178afdL18 lands in the version of @bugsnag/core
used by bugsnag exp
@yousif-bugsnag - this is now ready for review as the dependency in bugsnag-js is all there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Goal
Design
err.isRetryable = false
.Testing