From f7ea20b2606afcad8153caed73e71f2be7b1ba29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Negr=C3=B3n?= Date: Fri, 17 Jan 2025 14:56:51 -0400 Subject: [PATCH] remove catch --- packages/cli/src/oclif/commands/migrate.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/cli/src/oclif/commands/migrate.js b/packages/cli/src/oclif/commands/migrate.js index 79d2a5cbf..c26bf5b15 100644 --- a/packages/cli/src/oclif/commands/migrate.js +++ b/packages/cli/src/oclif/commands/migrate.js @@ -134,19 +134,6 @@ class MigrateCommand extends BaseCommand { try { await callAPI(url, { method: 'POST', body }); - } catch (errorResponse) { - // Verify if this error is something we can retry with confirmation - const requiresConfirmation = errorResponse.status === 409; - if (requiresConfirmation) { - this.stopSpinner(); - - this.log(''); - - this.log(); - } else { - // Unhandled error - throw errorResponse; - } } finally { this.stopSpinner(); }