chore: add extra error log with error for /watch-status
used as test
This commit is contained in:
@@ -80,6 +80,7 @@ app.openapi(route, async (c) => {
|
|||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(new Error("Error setting watch status", { cause: error }));
|
console.error(new Error("Error setting watch status", { cause: error }));
|
||||||
|
console.error(error);
|
||||||
return c.json(ErrorResponse, { status: 500 });
|
return c.json(ErrorResponse, { status: 500 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user