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.
2 files
+ 29
0
Compare changes
  • Side-by-side
  • Inline
Files
2
  • c3c07f93
    Issue #3323003 by tedbow, Wim Leers, yash.rode: Mark FailureMarker @internal... · c3c07f93
    Wim Leers authored
    Issue #3323003 by tedbow, Wim Leers, yash.rode: Mark FailureMarker @internal and document ComposerUtility, PathLocator and ValidationResult
@@ -16,6 +16,11 @@ use Drupal\package_manager\Exception\ApplyFailedException;
* know if a commit operation failed midway through, which could leave the site
* code base in an indeterminate state -- which, in the worst case scenario,
* might render Drupal being unable to boot.
*
* @internal
* This is an internal part of Package Manager and may be changed or removed
* at any time without warning. External code should not interact with this
* class.
*/
final class FailureMarker {
Loading