diff --git a/web/apps/photos/src/utils/common/job.ts b/web/apps/photos/src/utils/common/job.ts index f549966b66..365f879e95 100644 --- a/web/apps/photos/src/utils/common/job.ts +++ b/web/apps/photos/src/utils/common/job.ts @@ -50,7 +50,7 @@ export class SimpleJob { try { const jobResult = await this.runCallback(); - if (jobResult.shouldBackoff) { + if (jobResult && jobResult.shouldBackoff) { this.intervalSec = Math.min( this.config.maxItervalSec, this.intervalSec * this.config.backoffMultiplier,