fix: Add error message on initialization failed
This commit is contained in:
parent
e5360536f3
commit
b9db50de08
@ -77,7 +77,11 @@ export async function masterMain() {
|
||||
config = loadConfigBoot();
|
||||
await connectDb();
|
||||
} catch (e) {
|
||||
bootLogger.error("Fatal error occurred during initialization", null, true);
|
||||
bootLogger.error(
|
||||
`Fatal error occurred during initialization: ${e}`,
|
||||
null,
|
||||
true,
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user