fix: 兼容JSON配置 异常检查

This commit is contained in:
手瓜一十雪 committed 2025-01-25 10:24:39 +08:00
1 parent 0a9dfea20a
commit bae8dabc5c
3 files changed
+3 -2

No files matched your search

-1
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)));
}
}