diff --git a/src/github.com/matrix-org/go-neb/api.go b/src/github.com/matrix-org/go-neb/api.go index 96b6f57..f10a81c 100644 --- a/src/github.com/matrix-org/go-neb/api.go +++ b/src/github.com/matrix-org/go-neb/api.go @@ -136,7 +136,7 @@ type webhookHandler struct { } func (wh *webhookHandler) handle(w http.ResponseWriter, req *http.Request) { - log.WithField("path", req.URL.RawPath).Print("Incoming webhook request") + log.WithField("path", req.URL.Path).Print("Incoming webhook request") segments := strings.Split(req.URL.Path, "/") // last path segment is the service ID which we will pass the incoming request to, // but we've base64d it. diff --git a/src/github.com/matrix-org/go-neb/services/github/github.go b/src/github.com/matrix-org/go-neb/services/github/github.go index 57e62e9..c628b26 100644 --- a/src/github.com/matrix-org/go-neb/services/github/github.go +++ b/src/github.com/matrix-org/go-neb/services/github/github.go @@ -213,6 +213,8 @@ func (s *githubService) Register() error { "User %s does not have a Github auth session with realm %s.", s.ClientUserID, realm.ID()) } + log.Infof("%+v", s) + return nil }