chore: add comment to clarify app initialization process
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ import { initializeApp } from "./app/bootstrap.js";
|
|||||||
import { createChildLogger } from "./logger.js";
|
import { createChildLogger } from "./logger.js";
|
||||||
|
|
||||||
const logger = createChildLogger("bot");
|
const logger = createChildLogger("bot");
|
||||||
|
// Initialize the app
|
||||||
initializeApp().catch((error) => {
|
initializeApp().catch((error) => {
|
||||||
logger.error({ error }, "Failed to initialize app");
|
logger.error({ error }, "Failed to initialize app");
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user