Loading
Issue #3638109: Database updates and post-updates that throw a PHP \Error are not recorded as failed
Closes #3638109
Catches \Throwable instead of \Exception in DatabaseUpdate::doOne() and update_invoke_post_update(), so a PHP \Error thrown by an update or post-update is logged and recorded as an aborted update. Adds a kernel test and the update_test_error fixture module.
Generated with the help of an LLM.