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 (#15632)
feat: show error stack
This commit is contained in:
parent
72fa31f9e9
commit
10e518db42
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) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue