Check error getAppInfo

This commit is contained in:
Peter Stuifzand 2018-07-25 13:52:13 +02:00
parent dae386ef87
commit 0429821c08

View File

@ -437,6 +437,9 @@ func (h *mainHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
page.Channels, err = h.Backend.ChannelsGetList()
app, err := getAppInfo(clientID)
if err != nil {
log.Println(err)
}
page.App = app
err = h.Templates.ExecuteTemplate(w, "auth.html", page)