Skip to content

Experiment/http error#2627

Closed
gingerbenw wants to merge 14 commits intonextfrom
experiment/http-error
Closed

Experiment/http error#2627
gingerbenw wants to merge 14 commits intonextfrom
experiment/http-error

Conversation

@gingerbenw
Copy link
Copy Markdown
Contributor

Goal

Design

Changeset

Testing

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 4, 2025

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 47.74 kB 14.17 kB
After 47.78 kB 14.18 kB
± ⚠️ +40 bytes ⚠️ +9 bytes

code coverage diff

<temporarily disabled>

Generated by 🚫 dangerJS against 2a197de

Comment on lines +83 to +92
expect(event.exceptions[0].errorClass).toBe('HTTPError')
expect(event.exceptions[0].errorMessage).toBe('404: https://example.com/api/users')
expect(event.context).toBe('GET example.com')
expect(event.severity).toBe('error')
expect(event.unhandled).toBe(true)
expect(event.severityReason.type).toBe('httpError')
expect(event.request.url).toBe('https://example.com/api/users')
expect(event.request.httpMethod).toBe('GET')
expect(event.response.statusCode).toBe(404)
expect(event.response.headers['content-type']).toBe('application/json')
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

early days on this PR - but would appreciate a check on these values

@gingerbenw gingerbenw force-pushed the experiment/http-error branch from 7b06403 to 2a197de Compare December 11, 2025 17:36
@gingerbenw gingerbenw closed this Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant