added distinguish if IntegrityError uploading a safety