Catch failing serialization