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

feat: show error stack
pull/15637/head
Jonathan Jogenfors 2025-01-25 04:45:55 +07:00 committed by GitHub
parent 72fa31f9e9
commit 10e518db42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -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) => {