Added missing error handling in serialization.
This tag has no release notes.