mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 21:26:43 +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);
|
||||
|
||||
if ($json === false) {
|
||||
$json = $this->throwEncodeError(json_last_error(), $data);
|
||||
$this->throwEncodeError(json_last_error(), $data);
|
||||
}
|
||||
|
||||
return $json;
|
||||
|
Reference in New Issue
Block a user