exception message minor change

This commit is contained in:
Thomas Nahuel Rusiecki 2024-11-07 13:13:32 -03:00
parent 21b1f07151
commit cdf4771b7d
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class UploadForm(forms.Form):
).first()
if exist_annotation:
raise ValidationError("error: {} exist".format(file_name))
raise ValidationError("Error: {} already exists".format(file_name))
except json.JSONDecodeError:
raise ValidationError("Error in parsing JSON: '{}'. Check for file integrity.".format(file_name))