Skip to content

Commit

Permalink
fix retries
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Mar 16, 2024
1 parent 8165349 commit 41564ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/nocapd/src/classes/Worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,9 @@ export class NWWorker {
}

if(error) {
const retries = await this.retry.getRetries(url)
progress += `${error? chalk.gray.italic('error'): ''} `
progress += `[${await this.retry.getRetries(url)} retries}]`
progress += `[${retries !== null? retries: 0} retries]`
}

this.log.info(progress)
Expand Down

0 comments on commit 41564ae

Please sign in to comment.