Skip to content

Commit

Permalink
throwEncodeError does not return, refs #683
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Nov 18, 2015
1 parent 0178fd4 commit 7e709c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Monolog/Formatter/NormalizerFormatter.php
Expand Up @@ -205,7 +205,7 @@ private function handleJsonError($code, $data)
$json = $this->jsonEncode($data);

if ($json === false) {
$json = $this->throwEncodeError(json_last_error(), $data);
$this->throwEncodeError(json_last_error(), $data);
}

return $json;
Expand Down

0 comments on commit 7e709c0

Please sign in to comment.