Skip to content

Commit 9d4dfaf

Browse files
committed
[3.0] More detailed loop message
Replaces #7431
1 parent c987f35 commit 9d4dfaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public static function log(string $error_message, string|bool $error_type = 'gen
219219
if ($error_call > 2) {
220220
var_dump($backtrace);
221221

222-
die('Error loop.');
222+
die('Error, loop detected. The database may have failed or crashed.');
223223
}
224224

225225
// Check if error logging is actually on.

0 commit comments

Comments
 (0)