Skip to content

Commit

Permalink
fix: use logger.warning in trigger handle tx job
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Aug 23, 2024
1 parent 87527cd commit f3eee1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/crawl-tx/crawl_tx.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ export default class CrawlTxService extends BullableService {
await jobInDelayed[0].promote();
}
} catch (error) {
this.logger.error('No job can be promoted');
this.logger.error(error);
this.logger.warn('No job can be promoted');
this.logger.warn(error);
}
}

Expand Down

0 comments on commit f3eee1a

Please sign in to comment.