This commit is contained in:
xiaojunnuo
2025-01-04 20:17:08 +08:00
parent e6dd7cd54a
commit 81b322cd60
3 changed files with 3 additions and 3 deletions
@@ -1,6 +1,6 @@
import { Autoload, Config, Init, Inject, Scope, ScopeEnum } from '@midwayjs/core';
import { PipelineService } from '../pipeline/service/pipeline-service.js';
import { logger, utils } from '@certd/basic';
import { logger } from '@certd/basic';
import { SysSettingsService } from '@certd/lib-server';
import { SiteInfoService } from '../monitor/index.js';
import { Cron } from '../cron/cron.js';
@@ -25,7 +25,7 @@ export class SiteTester {
} catch (e) {
tryCount++;
if (tryCount > maxRetryTimes) {
logger.error(`测试站点出错,重试${maxRetryTimes}`, e);
logger.error(`测试站点出错,重试${maxRetryTimes}`, e.message);
throw e;
}
//指数退避