1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/17525] Correctly handle Doctrine DB tools exceptions, enrich error info

PHPBB-17525
This commit is contained in:
rxu
2025-06-15 13:03:55 +07:00
parent e34e1759c7
commit 8d1f8af7c6
5 changed files with 27 additions and 27 deletions

View File

@@ -280,7 +280,9 @@ class installer
}
catch (\Exception $e)
{
$this->iohandler->add_error_message($e->getMessage());
$stack_trace = phpbb_filter_root_path(str_replace("\n", '<br>', $e->getTraceAsString()));
$message = $e->getMessage();
$this->iohandler->add_error_message($message, $stack_trace);
$this->iohandler->send_response(true);
$fail_cleanup = true;
}