update: normalize log

This commit is contained in:
Seijo Cecilia
2024-09-04 15:47:06 +08:00
parent ba12bc6c91
commit d36a28fa81
16 changed files with 84 additions and 94 deletions

View File

@@ -148,7 +148,7 @@ export class NTQQFileApi {
try {
videoInfo = await getVideoInfo(path, logger);
} catch (e) {
logger.logError('获取视频信息失败,将使用默认值', e);
logger.logWarn('获取视频信息失败,将使用默认值', e);
}
const thumbPath = new Map();
const _thumbPath = await new Promise<string | undefined>((resolve, reject) => {