Add missing error handling when collecting service entries in admin
This commit is contained in:
parent
c3c349fadf
commit
f24f69bbbd
|
@ -133,6 +133,9 @@ func serveServicesIndex(w http.ResponseWriter, r *http.Request, user *auth.User,
|
|||
panic(err)
|
||||
}
|
||||
services, err := collectServiceEntries(r.Context(), company, conn)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
page := &servicesIndex{
|
||||
Services: services,
|
||||
Slides: slides,
|
||||
|
|
Loading…
Reference in New Issue