Handle upload error.