Commit before changing error array.