more logs!
This commit is contained in:
@@ -544,12 +544,11 @@ func (con Connection) AttachServer(ctx *gin.Context) {
|
||||
}
|
||||
count, err := hijacked.Reader.Read(data)
|
||||
if err != nil {
|
||||
log.Printf("Read from docker failed %s", errors.Unwrap(err))
|
||||
stop = true
|
||||
break
|
||||
}
|
||||
if count > 0 {
|
||||
|
||||
log.Println("Got ", count, " bytes: ", string(data[:count]))
|
||||
containerRead <- string(data[:count])
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user