mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
chore(server): print stack in case of worker error (#15632)
feat: show error stack
This commit is contained in:
parent
72fa31f9e9
commit
10e518db42
@ -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…
x
Reference in New Issue
Block a user