diff --git a/ChromePhp.php b/ChromePhp.php index 577b1ce..e5e32d4 100755 --- a/ChromePhp.php +++ b/ChromePhp.php @@ -402,7 +402,7 @@ protected function _writeHeader($data) */ protected function _encode($data) { - return base64_encode(utf8_encode(json_encode($data))); + return base64_encode(utf8_encode(json_encode($data, JSON_PARTIAL_OUTPUT_ON_ERROR))); } /**