Skip to content

High performance self-hosted photo and video management solution.

chore(server): print stack in case of worker error (#15632)

Jonathan Jogenfors10e518db427d
diff --git a/server/src/main.ts b/server/src/main.ts
index 3097eee69b..95b35c6915 100644
--- a/server/src/main.ts
+++ b/server/src/main.ts
@@ -13,7 +13,7 @@ if (immichApp) {
let apiProcess: ChildProcess | undefined;
const onError = (name: string, error: Error) => {
- console.error(`${name} worker error: ${error}`);
+ console.error(`${name} worker error: ${error}, stack: ${error.stack}`);
};
const onExit = (name: string, exitCode: number | null) => {