Sync 331

Thanks @mseaton!
Thanks @mseaton. I don't mind removing the log.error line from here, but as I was debugging some issues I noticed that even if there are serialization exceptions they never get logged in the log. And, because this method is called directly by hibernate it would probably be difficult to configure it in such a way that displays only these errors and not all the hibernate errors.