debug logs and b64 non encodable
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"local/firestormy/config"
|
||||
"local/firestormy/config/ns"
|
||||
"local/firestormy/scheduler"
|
||||
"local/logb"
|
||||
"net/http"
|
||||
|
||||
"github.com/google/uuid"
|
||||
@@ -63,6 +64,7 @@ func (u *upsertRequest) toJob() (*scheduler.Job, error) {
|
||||
}
|
||||
|
||||
func (s *Server) upsert(w http.ResponseWriter, r *http.Request) {
|
||||
logb.Debugf("[access] upsert %s", r.URL.Path)
|
||||
upsert, err := newUpsertRequest(r.Body)
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusBadRequest)
|
||||
|
||||
Reference in New Issue
Block a user