Moved error handling from write part to the read part.