Skip to content

Commit 89c3d20

Browse files
authored
Merge pull request #20 from rarimo/debug/add-log
Add: debug request log
2 parents fc0b26d + b67f931 commit 89c3d20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/service/api/handlers/create_identity.go

+2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ func CreateIdentity(w http.ResponseWriter, r *http.Request) {
7575
"request_data": string(rawReqData),
7676
})
7777

78+
log.Debug("created identity request")
79+
7880
algorithm := signatureAlgorithm(req.Data.DocumentSOD.Algorithm)
7981
if algorithm == "" {
8082
log.WithError(fmt.Errorf("%s is not a valid algorithm", req.Data.DocumentSOD.Algorithm)).Error("failed to select signature algorithm")

0 commit comments

Comments
 (0)