diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/errorhandler.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/errorhandler.php b/include/errorhandler.php index 16afcabcf..3643db98a 100644 --- a/include/errorhandler.php +++ b/include/errorhandler.php @@ -11,11 +11,11 @@ function format_backtrace($trace) { if (is_array($e["args"])) { foreach ($e["args"] as $a) { if (is_object($a)) { - array_push($fmt_args, "[" . get_class($a) . "]"); + array_push($fmt_args, "{" . get_class($a) . "}"); } else if (is_array($a)) { - array_push($fmt_args, "[" . truncate_string(json_encode($a), 128, "...")) . "]"; + array_push($fmt_args, "[" . truncate_string(json_encode($a), 256, "...")) . "]"; } else { - array_push($fmt_args, $a); + array_push($fmt_args, truncate_string($a, 256, "...")); } } } |