Skip to content

Commit

Permalink
Always throw the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 16, 2024
1 parent 7afef37 commit 210942b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app/Commands/SelfUpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,7 @@ public function handle(): int
MARKDOWN
]));

if ($this->output->isVerbose()) {
throw $exception;
} else {
$this->warn('For more information, run the command again with the `-v` option to throw the exception.');
}

return Command::FAILURE;
throw $exception;
}
}

Expand Down

0 comments on commit 210942b

Please sign in to comment.