Skip to content

Commit 0ea126f

Browse files
committed
fix: throw error when add cdn fail
1 parent 5553ddc commit 0ea126f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/baas/cdn/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ class Cdn {
9191
if (e.code === 9111) {
9292
console.log(`Please goto https://console.cloud.tencent.com/cdn open CDN service.`)
9393
}
94+
throw e
9495
}
9596
const { id } = await getCdnByHost(capi, host)
9697
outputs.created = true

0 commit comments

Comments
 (0)