Skip to content

Commit 8a5c42e

Browse files
etnoyvladd11
authored andcommitted
chore(server): print stack in case of worker error (immich-app#15632)
feat: show error stack
1 parent 9a33576 commit 8a5c42e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (immichApp) {
1313
let apiProcess: ChildProcess | undefined;
1414

1515
const onError = (name: string, error: Error) => {
16-
console.error(`${name} worker error: ${error}`);
16+
console.error(`${name} worker error: ${error}, stack: ${error.stack}`);
1717
};
1818

1919
const onExit = (name: string, exitCode: number | null) => {

0 commit comments

Comments
 (0)