Skip to content

Commit

Permalink
add: debug log to have logs in success request
Browse files Browse the repository at this point in the history
  • Loading branch information
mhrynenko committed May 19, 2024
1 parent 3803474 commit 53ec77f
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 @@ -74,6 +74,8 @@ func CreateIdentity(w http.ResponseWriter, r *http.Request) {
"request_data": string(rawReqData),
})

log.Debug("create identity test")

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 53ec77f

Please sign in to comment.