mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
setuplib: early errors were not showing debuginfo.
This commit is contained in:
parent
4e94ce8ec5
commit
c72465aa15
@ -180,7 +180,7 @@ function default_exception_handler($ex, $isupgrade = false, $plugin = null) {
|
||||
}
|
||||
|
||||
if (is_stacktrace_during_output_init($backtrace)) {
|
||||
echo bootstrap_renderer::early_error($message, $moreinfourl, $link, $backtrace);
|
||||
echo bootstrap_renderer::early_error($message, $moreinfourl, $link, $backtrace, $debuginfo);
|
||||
} else {
|
||||
echo $OUTPUT->fatal_error($message, $moreinfourl, $link, $backtrace, $debuginfo);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user