mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
fix(health): use not-deprecated sentry context
The setExtra function is deprecated in favor of setContext. Also update sentry-related packages.
This commit is contained in:
parent
a4f7eaf6cc
commit
f06b93efbe
4 changed files with 536 additions and 865 deletions
|
|
@ -36,7 +36,11 @@ export class HealthCheckController {
|
|||
]);
|
||||
|
||||
configureScope((scope: Scope) => {
|
||||
scope.setExtra("health", health);
|
||||
scope.setContext("health", {
|
||||
status: health.status,
|
||||
info: health.info,
|
||||
error: health.error,
|
||||
});
|
||||
});
|
||||
|
||||
return health;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue