Skip to content

Commit

Permalink
Merge branch 'patch-1' of https://github.com/manti/serializer into ma…
Browse files Browse the repository at this point in the history
…nti-patch-1
  • Loading branch information
Jonatan Männchen committed May 3, 2016
2 parents 8a47087 + 52f0631 commit 8045a3d
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 8045a3d

Please # to comment.