Skip to content

Commit

Permalink
Removed unnecessary log
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Newton committed Apr 17, 2018
1 parent 096639c commit 2e75b3a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion people/handlers.go
Expand Up @@ -58,7 +58,6 @@ func (h *Handler) GetPerson(w http.ResponseWriter, r *http.Request) {

validRegexp := regexp.MustCompile(validUUID)

logger.Errorf("UUID: %s", uuid)
if uuid == "" || !validRegexp.MatchString(uuid) {
logger.WithTransactionID(transId).WithField("UUID", uuid).Error(badRequestMsg)
writeJSONStaus(w, badRequestMsg, http.StatusBadRequest)
Expand Down

0 comments on commit 2e75b3a

Please sign in to comment.