limit the cli debug uptput
This commit is contained in:
parent
b94e39148b
commit
18e9c32a0e
@ -82,7 +82,7 @@ function error($message, $priority = true, $debug_stuff = false) {
|
|||||||
if (defined('STDIN')) {
|
if (defined('STDIN')) {
|
||||||
// Running from CLI
|
// Running from CLI
|
||||||
echo('Error: ' . $message . "\n");
|
echo('Error: ' . $message . "\n");
|
||||||
debug_print_backtrace();
|
debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user