perf: 优化京东云报错详情显示

This commit is contained in:
xiaojunnuo
2026-02-13 18:16:05 +08:00
parent 8c2dfa9140
commit 1195417b97
@@ -63,7 +63,10 @@ export class JDCloudDnsProvider extends AbstractDnsProvider {
domainId: domainId domainId: domainId
}; };
}catch (e) { }catch (e) {
this.logger.error(e) if (e.error){
this.logger.error(JSON.stringify(e.error))
throw new Error(JSON.stringify(e.error))
}
throw e throw e
} }