diff --git a/main.go b/main.go index e772a15..67f4216 100644 --- a/main.go +++ b/main.go @@ -46,8 +46,8 @@ func handler(w http.ResponseWriter, r *http.Request) { log.Debug(string(body)) if err := validateSignature(body, r); err != nil { - log.Error(errInvalidSignature) - http.Error(w, errInvalidSignature.Error(), http.StatusBadRequest) + log.Error(err) + http.Error(w, err.Error(), http.StatusBadRequest) return }