Skip to content

Commit

Permalink
chore: 1.20.10
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed May 30, 2024
1 parent 24aa416 commit 29f9235
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ export class PipelineService extends BaseService<PipelineEntity> {

for (const entity of list) {
const pipeline = JSON.parse(entity.content ?? '{}');
this.registerTriggers(pipeline);
try{
this.registerTriggers(pipeline);
}catch (e) {
logger.error('加载定时trigger失败:', e);
}

}
}
logger.info('定时器数量:', this.cron.getListSize());
Expand Down

0 comments on commit 29f9235

Please sign in to comment.