Skip to content
Snippets Groups Projects

Issue #3341224: Always catch \Throwable, not \Exception and always pass the old exception when re-throwing.

Closed Issue #3341224: Always catch \Throwable, not \Exception and always pass the old exception when re-throwing.
119 files
+ 378
2875
Compare changes
  • Side-by-side
  • Inline
Files
119
@@ -120,7 +120,7 @@ final class UpdateReady extends UpdateFormBase {
try {
$this->updater->claim($stage_id);
}
catch (StageOwnershipException $e) {
catch (StageOwnershipException) {
$this->messenger()->addError($this->t('Cannot continue the update because another Composer operation is currently in progress.'));
return $form;
}
Loading