panic in the logs during first load
balopat opened this issue · 1 comments
balopat commented
Not a big problem, as the app came up - but I wonder if this needs investigation, panics are never a good sign:
I got this while standing up a new instance doing it's very first load.
Weird formatting is from Cloud Run logs.
2020/07/30 22: 39:12 http: panic serving 169.254.8.129:45590: runtime error: invalid memory address or nil pointer dereference
at net/http.(*conn).serve.func1 (server.go:1772)
at panic (/usr/local/go/src/runtime/panic.go:975)
at github.com/google/triage-party/pkg/site.(*Handlers).collectionPage (page.go:96)
at github.com/google/triage-party/pkg/site.(*Handlers).Collection.func1 (collection.go:65)
at net/http.HandlerFunc.ServeHTTP (server.go:2012)
at net/http.(*ServeMux).ServeHTTP (server.go:2387)
at net/http.serverHandler.ServeHTTP (server.go:2807)
at net/http.(*conn).serve (server.go:1895)
balopat commented
I think this might be related to Service not available
error messages.