mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat: ✨ Enable Sentry's extra error data integration
This commit is contained in:
parent
3baac85cf7
commit
0194b471a8
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue