debug logs and b64 non encodable
This commit is contained in:
@@ -5,12 +5,15 @@ import (
|
||||
"local/firestormy/config"
|
||||
"local/firestormy/config/ns"
|
||||
"local/firestormy/scheduler"
|
||||
"local/logb"
|
||||
"net/http"
|
||||
"sort"
|
||||
)
|
||||
|
||||
func (s *Server) list(w http.ResponseWriter, r *http.Request) {
|
||||
logb.Debugf("[access] list %s", r.URL.Path)
|
||||
jobs, err := config.Store.List(ns.Jobs)
|
||||
logb.Debugf("[access] list : %v: %+v", err, jobs)
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user