Open Noah-Huppert opened 5 years ago
From the logs:
serverless-registry-api.handlers [DEBUG] received check suite event: {"action":"requested","check_suite":{"id":175626297,"node_id":"MDEwOkNoZWNrU3VpdGUxNzU2MjYyOTc=","head_branch":" SNIP serverless-registry-api.handlers [ERROR] goroutine 705475 [running]: runtime/debug.Stack(0xc0001d9140, 0xc000adfa40, 0x7f11fc3eeb50) /usr/local/go/src/runtime/debug/stack.go:24 +0x9d github.com/kscout/serverless-registry-api/handlers.PanicHandler.ServeHTTP.func1(0x11d5860, 0xc000364100, 0x11ee1c0, 0xc000480a20, 0xc00017c500, 0xc0001c8230, 0xc0001c8238, 0xc0001c8 /home/app/handlers/panic.go:33 +0x181 panic(0xe77340, 0x192b9e0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/kscout/serverless-registry-api/handlers.WebhookHandler.ServeHTTP(0x11d5860, 0xc000364100, 0x11ee1c0, 0xc000480a20, 0xc00017c500, 0xc0001c8230, 0xc0001c8238, 0xc0001c8240, /home/app/handlers/webhook.go:159 +0x1609 github.com/gorilla/mux.(*Router).ServeHTTP(0xc0005d4180, 0x11d29a0, 0xc0005800a0, 0xc000ae8200) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 github.com/kscout/serverless-registry-api/handlers.CORSHandler.ServeHTTP(0x11d5860, 0xc000364100, 0x11ee1c0, 0xc000480a20, 0xc00017c500, 0xc0001c8230, 0xc0001c8238, 0xc0001c8240, 0x /home/app/handlers/cors.go:19 +0x142 github.com/kscout/serverless-registry-api/handlers.ReqLoggerHandler.ServeHTTP(0x11d5860, 0xc000364100, 0x11ee1c0, 0xc000480a20, 0xc00017c500, 0xc0001c8230, 0xc0001c8238, 0xc0001c824 /home/app/handlers/reqlog.go:18 +0x163 github.com/kscout/serverless-registry-api/handlers.MetricsHandler.ServeHTTP(0x11d5860, 0xc000364100, 0x11ee1c0, 0xc000480a20, 0xc00017c500, 0xc0001c8230, 0xc0001c8238, 0xc0001c8240, /home/app/handlers/metrics.go:40 +0x152 github.com/kscout/serverless-registry-api/handlers.PanicHandler.ServeHTTP(0x11d5860, 0xc000364100, 0x11ee1c0, 0xc000480a20, 0xc00017c500, 0xc0001c8230, 0xc0001c8238, 0xc0001c8240, 0 /home/app/handlers/panic.go:45 +0xe6 net/http.serverHandler.ServeHTTP(0xc000703ba0, 0x11d2660, 0xc00066c1c0, 0xc000ae8200) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc000352e60, 0x11d5860, 0xc0000d4580) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 serverless-registry-api.handlers [ERROR] panicked while handling request: "invalid memory address or nil pointer dereference"
From the logs: