From b67f93191ccb24ab2b4406392f036e8979541777 Mon Sep 17 00:00:00 2001 From: Maksym Hrynenko Date: Mon, 27 May 2024 13:12:35 +0300 Subject: [PATCH] add: debug request log --- internal/service/api/handlers/create_identity.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/service/api/handlers/create_identity.go b/internal/service/api/handlers/create_identity.go index 2eb7ff4..8aa1f4f 100644 --- a/internal/service/api/handlers/create_identity.go +++ b/internal/service/api/handlers/create_identity.go @@ -75,6 +75,8 @@ func CreateIdentity(w http.ResponseWriter, r *http.Request) { "request_data": string(rawReqData), }) + log.Debug("created identity request") + algorithm := signatureAlgorithm(req.Data.DocumentSOD.Algorithm) if algorithm == "" { log.WithError(fmt.Errorf("%s is not a valid algorithm", req.Data.DocumentSOD.Algorithm)).Error("failed to select signature algorithm")