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:
Julian Tölle 2022-06-11 18:26:46 +02:00
parent a4f7eaf6cc
commit f06b93efbe
4 changed files with 536 additions and 865 deletions

View file

@ -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;