mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
Refactor debugging and logging more
This commit is contained in:
parent
82c6dc17a8
commit
ab6fe6988c
20 changed files with 230 additions and 123 deletions
|
|
@ -164,6 +164,11 @@ export const processRoute = async (
|
|||
|
||||
return output;
|
||||
} catch (err) {
|
||||
await logger.log(
|
||||
LogLevel.DEBUG,
|
||||
"Server.RouteHandler",
|
||||
(err as Error).toString(),
|
||||
);
|
||||
await logger.logError(
|
||||
LogLevel.ERROR,
|
||||
"Server.RouteHandler",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue