mirror of
https://github.com/versia-pub/server.git
synced 2026-01-26 04:06:01 +01:00
feat: ✨ Enable Sentry's extra error data integration
This commit is contained in:
parent
3baac85cf7
commit
0194b471a8
|
|
@ -16,6 +16,7 @@ const sentryInstance =
|
||||||
release: Bun.env.GIT_COMMIT
|
release: Bun.env.GIT_COMMIT
|
||||||
? `${pkg.version}-${Bun.env.GIT_COMMIT}`
|
? `${pkg.version}-${Bun.env.GIT_COMMIT}`
|
||||||
: pkg.version,
|
: pkg.version,
|
||||||
|
integrations: [Sentry.extraErrorDataIntegration()],
|
||||||
});
|
});
|
||||||
|
|
||||||
export const sentry = sentryInstance || undefined;
|
export const sentry = sentryInstance || undefined;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue