Skip to content

Commit

Permalink
add: debug request log
Browse files Browse the repository at this point in the history
  • Loading branch information
mhrynenko committed May 27, 2024
1 parent fc0b26d commit b67f931
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/service/api/handlers/create_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b67f931

Please sign in to comment.