Skip to content

Commit

Permalink
remove catch
Browse files Browse the repository at this point in the history
  • Loading branch information
rnegron committed Jan 17, 2025
1 parent d7bc042 commit f7ea20b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/cli/src/oclif/commands/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit f7ea20b

Please sign in to comment.