chore: add extra error log with error for /watch-status

used as test
This commit is contained in:
2024-08-04 12:24:25 +02:00
parent d3bde92964
commit 713bb59780

View File

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