Skip to content
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

[v7] Bun Global Unhandled Handlers #11959

Merged
merged 1 commit into from
May 10, 2024
Merged

[v7] Bun Global Unhandled Handlers #11959

merged 1 commit into from
May 10, 2024

Conversation

HazAT
Copy link
Member

@HazAT HazAT commented May 9, 2024

Add support for global onUnhandled Error/Promise for Bun.

import * as Sentry from "@sentry/bun";

Sentry.init({
    dsn: "DSN",
});

console.log("Hello via Bun!");

throw new Error('Unhandled Bun Sentry Error!');
image

ref: oven-sh/bun#5091

@HazAT HazAT requested review from a team as code owners May 9, 2024 05:45
@HazAT HazAT changed the base branch from develop to v7 May 9, 2024 05:48
@HazAT HazAT merged commit 75e5501 into v7 May 10, 2024
@HazAT HazAT deleted the bun-v7-globalhandlers branch May 10, 2024 07:35
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.

None yet

2 participants