From 096704935d2410d3a3bcd1c3e6f7b88d9f6ddd99 Mon Sep 17 00:00:00 2001 From: pedro Date: Thu, 30 Jan 2025 08:09:20 +0100 Subject: [PATCH] better error message on receiving snapshot --- api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/views.py b/api/views.py index 87177fb..98472d1 100644 --- a/api/views.py +++ b/api/views.py @@ -90,7 +90,7 @@ class NewSnapshotView(ApiMixing): ev_uuid = data["credentialSubject"].get("uuid") if not ev_uuid: - txt = "error: the snapshot not have uuid" + txt = "error: the snapshot does not have an uuid" logger.error("%s", txt) return JsonResponse({'status': txt}, status=500)