diff options
author | Alan Pearce | 2023-11-23 19:20:05 +0100 |
---|---|---|
committer | Alan Pearce | 2023-11-23 19:22:33 +0100 |
commit | f3e99cbaf429368b7aa094b72a2f5b488e794ad7 (patch) | |
tree | 1a520a48848717ea4c9e4474c0fdc4fdb0ffbc6c /src | |
parent | 9fa5bde100dd2fbd88cf6ffad0c8e8ebbd72676f (diff) | |
download | website-f3e99cbaf429368b7aa094b72a2f5b488e794ad7.tar.lz website-f3e99cbaf429368b7aa094b72a2f5b488e794ad7.tar.zst website-f3e99cbaf429368b7aa094b72a2f5b488e794ad7.zip |
Log errors
Diffstat (limited to 'src')
-rw-r--r-- | src/app.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.ts b/src/app.ts index 1290aaa..ac11c4d 100644 --- a/src/app.ts +++ b/src/app.ts @@ -249,6 +249,7 @@ export const server = { content_encoding: "identity", }); Sentry.captureException(error); + console.error("Error", error); return new Response("Something went wrong", { status: status }); } finally { const seconds = endTimer(); |