Skip to content

Commit 6fd593e

Browse files
committed
fix: delete error
1 parent acffabf commit 6fd593e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cypress/support/tools/tenderly.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,11 @@ export class TenderlyVnet {
127127
}
128128

129129
async deleteVnet() {
130-
await tenderlyFetch(
131-
`account/${TENDERLY_ACCOUNT}/project/${TENDERLY_PROJECT}/vnets/${this.vnet_id}`,
132-
{ method: 'DELETE' }
133-
);
130+
try {
131+
await tenderlyFetch(
132+
`account/${TENDERLY_ACCOUNT}/project/${TENDERLY_PROJECT}/vnets/${this.vnet_id}`,
133+
{ method: 'DELETE' }
134+
);
135+
} catch (error) {}
134136
}
135137
}

0 commit comments

Comments
 (0)