mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 01:11:32 +03:00
fix: ensure task is defined to show error
This commit is contained in:
@@ -238,6 +238,7 @@ export class MaintenanceWorkerService {
|
|||||||
this.logger.error(`Encountered error running action: ${error}`);
|
this.logger.error(`Encountered error running action: ${error}`);
|
||||||
this.setStatus({
|
this.setStatus({
|
||||||
action: action.action,
|
action: action.action,
|
||||||
|
task: 'error',
|
||||||
error: '' + error,
|
error: '' + error,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user