Skip to content

Commit

Permalink
chore(server): print stack in case of worker error (#15632)
Browse files Browse the repository at this point in the history
feat: show error stack
  • Loading branch information
etnoy authored Jan 25, 2025
1 parent 72fa31f commit 10e518d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 10e518d

Please sign in to comment.