add shitty debug logs
This commit is contained in:
parent
beadb78fd3
commit
21a66d786f
@ -165,11 +165,14 @@ func (ph *ProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
resolvedIPs, err := net.LookupIP(containerName)
|
||||
if err != nil {
|
||||
http.Error(w, http.StatusText(http.StatusForbidden), http.StatusForbidden)
|
||||
fmt.Println("failed here 1")
|
||||
log.Err(err).Send()
|
||||
return
|
||||
}
|
||||
for _, resolvedIP := range resolvedIPs {
|
||||
if resolvedIP.Equal(ip) {
|
||||
if err = checkMethodPath(w, r, mr); err != nil {
|
||||
fmt.Println("failed here 2")
|
||||
log.Err(err).Send()
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user