Skip to content

Include error tracking in desktop and web extension#1800

Draft
paustint wants to merge 1 commit into
mainfrom
feat/desktop-version-and-sentry
Draft

Include error tracking in desktop and web extension#1800
paustint wants to merge 1 commit into
mainfrom
feat/desktop-version-and-sentry

Conversation

@paustint

Copy link
Copy Markdown
Contributor

Integrate Sentry for error tracking in both the desktop and web extension applications. This update enhances the error handling capabilities by capturing errors and sending them to Sentry, allowing for better monitoring and debugging. Additionally, the application version is now tracked to provide context for errors.

const timeout = setTimeout(() => controller.abort(), FORWARD_TIMEOUT_MS);
try {
// undici's fetch accepts a Buffer body at runtime, but the lib's BodyInit type omits it.
const upstream = await fetch(url, { method: 'POST', headers, body: body as unknown as BodyInit, signal: controller.signal });
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.

2 participants