From 713bb5978024667ab1cea62b06b9e4359cec9cfa Mon Sep 17 00:00:00 2001 From: Rushil Perera Date: Sun, 4 Aug 2024 12:24:25 +0200 Subject: [PATCH] chore: add extra error log with error for /watch-status used as test --- src/controllers/watch-status/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/watch-status/index.ts b/src/controllers/watch-status/index.ts index fe09656..a2d93e6 100644 --- a/src/controllers/watch-status/index.ts +++ b/src/controllers/watch-status/index.ts @@ -80,6 +80,7 @@ app.openapi(route, async (c) => { ); } catch (error) { console.error(new Error("Error setting watch status", { cause: error })); + console.error(error); return c.json(ErrorResponse, { status: 500 }); } }