exception message minor change
This commit is contained in:
parent
21b1f07151
commit
cdf4771b7d
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue