mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-07 21:56:31 +02:00
throwEncodeError does not return, refs #683
This commit is contained in:
@@ -205,7 +205,7 @@ class NormalizerFormatter implements FormatterInterface
|
|||||||
$json = $this->jsonEncode($data);
|
$json = $this->jsonEncode($data);
|
||||||
|
|
||||||
if ($json === false) {
|
if ($json === false) {
|
||||||
$json = $this->throwEncodeError(json_last_error(), $data);
|
$this->throwEncodeError(json_last_error(), $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $json;
|
return $json;
|
||||||
|
Reference in New Issue
Block a user