diff --git a/webhook.go b/webhook.go index 5d410775..a48851f0 100644 --- a/webhook.go +++ b/webhook.go @@ -202,7 +202,7 @@ func main() { func hookHandler(w http.ResponseWriter, r *http.Request) { // generate a request id for logging - rid := uuid.NewV4().String()[:6] + rid := uuid.Must(uuid.NewV4()).String()[:6] log.Printf("[%s] incoming HTTP request from %s\n", rid, r.RemoteAddr)