diff --git a/app.ts b/app.ts index ee152e6c..94cfdd23 100644 --- a/app.ts +++ b/app.ts @@ -94,6 +94,8 @@ export const appFactory = async () => { }); app.onError((error) => { + const serverLogger = getLogger("server"); + serverLogger.error`${error}`; return jsonResponse( { error: "A server error occured", diff --git a/classes/functions/user.ts b/classes/functions/user.ts index ebe47162..c9fcda64 100644 --- a/classes/functions/user.ts +++ b/classes/functions/user.ts @@ -1,3 +1,6 @@ +/** + * Old code that needs to be rewritten + */ import { getLogger } from "@logtape/logtape"; import type { Follow,