forked from creations/profilePage
fix clan badge ( primary_guild), add timezone api, move robots to public/custom support, move to atums/echo for logging instead
This commit is contained in:
parent
eb2bec6649
commit
3cb3b76a2b
13 changed files with 269 additions and 123 deletions
|
@ -1,6 +1,6 @@
|
|||
import { serverHandler } from "@/server";
|
||||
import { echo } from "@atums/echo";
|
||||
import { verifyRequiredVariables } from "@config/environment";
|
||||
import { logger } from "@creations.works/logger";
|
||||
|
||||
async function main(): Promise<void> {
|
||||
verifyRequiredVariables();
|
||||
|
@ -8,7 +8,7 @@ async function main(): Promise<void> {
|
|||
}
|
||||
|
||||
main().catch((error: Error) => {
|
||||
logger.error(["Error initializing the server:", error]);
|
||||
echo.error({ message: "Error initializing the server", error });
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue