Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ps-spb committed Sep 6, 2024
1 parent 515fb7c commit 2ba6f05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion moroz/svc_preflight.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ func decodePreflightRequest(ctx context.Context, r *http.Request) (interface{},
if err != nil {
return nil, err
}
log.Printf("DEBUG: req body was %#v", zr)
//log.Printf("DEBUG: req body was %#v", zr)
req := preflightRequest{MachineID: id}
if err := json.NewDecoder(zr).Decode(&req.payload); err != nil {
log.Printf("DEBUG: error was %#v", err)
return nil, err
}
log.Printf("%#v", req)
return req, nil
}

Expand Down

0 comments on commit 2ba6f05

Please sign in to comment.