mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
I lied i logged again
This commit is contained in:
parent
4db9b1c544
commit
44b99a9b4d
|
|
@ -84,7 +84,10 @@ export const processRoute = async (
|
|||
|
||||
const route: APIRouteExports | null = await import(
|
||||
matchedRoute.filePath
|
||||
).catch(() => null);
|
||||
).catch((e) => {
|
||||
dualLogger.logError(LogLevel.ERROR, "Server.RouteImport", e as Error);
|
||||
return null;
|
||||
});
|
||||
|
||||
console.log(route);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue