From cdf4771b7dbce9783d4f370b8a97085d4886ac62 Mon Sep 17 00:00:00 2001 From: thomas rusiecki Date: Thu, 7 Nov 2024 13:13:32 -0300 Subject: [PATCH] exception message minor change --- evidence/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evidence/forms.py b/evidence/forms.py index 05c9b82..005a2c0 100644 --- a/evidence/forms.py +++ b/evidence/forms.py @@ -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))