1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-30 12:49:38 +02:00

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

feat: show error stack
This commit is contained in:
Jonathan Jogenfors 2025-01-25 04:45:55 +01:00 committed by GitHub
parent 72fa31f9e9
commit 10e518db42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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