Skip to content

Commit c3ea89f

Browse files
committed
fix(cdn): multi deploy bug
1 parent e9c8988 commit c3ea89f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/modules/cdn/utils.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@ export async function openCdnService(capi: Capi) {
125125
});
126126
return true;
127127
} catch (e) {
128-
if (
129-
e.code !== 'ResourceInUse.CdnUserExists' &&
130-
e.code !== 'UnauthorizedOperation.OperationTooOften'
131-
) {
132-
throw e;
133-
}
128+
// if (
129+
// e.code !== 'ResourceInUse.CdnUserExists' &&
130+
// e.code !== 'UnauthorizedOperation.OperationTooOften'
131+
// ) {
132+
// throw e;
133+
// }
134+
// DO NOT THROW ERROR
134135
return false;
135136
}
136137
}

0 commit comments

Comments
 (0)