fix: 兼容JSON配置 异常检查

This commit is contained in:
手瓜一十雪
2025-01-25 10:24:39 +08:00
parent 140a28c7f5
commit fe75d4c1c1
3 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,6 @@ export class Fallback<T> {
return data;
}
} catch (error) {
console.log(error);
errors.push(error instanceof Error ? error : new Error(String(error)));
}
}