move to @atums/echo logger,

This commit is contained in:
creations 2025-05-30 20:12:53 -04:00
parent 0ba0181e2b
commit 8cfa75ec57
Signed by: creations
GPG key ID: 8F553AA4320FC711
6 changed files with 151 additions and 48 deletions

View file

@ -1,4 +1,4 @@
import { logger } from "@creations.works/logger";
import { echo } from "@atums/echo";
import { serverHandler } from "@/server";
@ -7,7 +7,10 @@ async function main(): Promise<void> {
}
main().catch((error: Error) => {
logger.error(["Error initializing the server:", error]);
echo.error({
message: "Error initializing the server",
error: error.message,
});
process.exit(1);
});