Skip to content

Commit

Permalink
Merge branch 'manti-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonatan Männchen committed May 3, 2016
2 parents 8a47087 + 8045a3d commit 55485f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsonSerializationVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function getResult()
throw new \RuntimeException('Your data could not be encoded because it contains invalid UTF8 characters.');

default:
throw new \RuntimeException(sprintf('An error occurred while encoding your data (error code %d).', json_last_error()));
throw new \RuntimeException(sprintf('An error occurred while encoding your data (error code %d)(error message %s).', json_last_error(), json_last_error_msg()));
}
}

Expand Down

0 comments on commit 55485f4

Please # to comment.