Merged in fix/logging-warmup-background (pull request #3235)

Fix/logging warmup background

* fix: logging in background functions

* fix logging

* fix logging

* fix logging

* fix: add error logging when unable to get from cache

* Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/logging-warmup-background


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-11-26 13:03:28 +00:00
committed by Linus Flood
parent 4174d43e16
commit c4de9a2262
2 changed files with 12 additions and 0 deletions

View File

@@ -35,7 +35,9 @@ export async function get<T>(key: string) {
cacheKey: key,
statusCode: response?.status,
statusText: response?.statusText,
isJson,
contentType: response?.headers.get("content-type"),
error: serializeError(error),
})
Sentry.captureException(error ?? new Error("Unable to GET cachekey"), {