Skip to content
Snippets Groups Projects

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

Merged Issue #3341224: Always catch \Throwable, not \Exception and always pass the old exception when re-throwing.
+ 3
2
@@ -38,8 +38,9 @@ build:
- sed -i "s/vendor\/bin\/phpstan/\/var\/www\/html\/vendor\/bin\/phpstan/" modules/contrib/automatic_updates/commit-code-check.sh
# After all of the shenanigans above, we're finally ready to run core's `commit-code-check.sh`! :)
- cat modules/contrib/automatic_updates/commit-code-check.sh
- ls -l modules/contrib/automatic_updates/
- ls -l /var/www/html/core/
- diff /var/www/html/core/scripts/dev/commit-code-check.sh modules/contrib/automatic_updates/commit-code-check.sh
- ls -al modules/contrib/automatic_updates/
- ls -al /var/www/html/core/
- "modules/contrib/automatic_updates/commit-code-check.sh --drupalci"
# Restore the original permissions.
- chmod 777 modules/contrib/automatic_updates/
Loading