logging: avoids logging activity to stdio file descriptors (#1007)
This avoids logging activity on stdio file descriptors, in order to help make troubleshooting easier. Usually, there isn't an issue in these, yet wasm panics are harder to read if there is also logging of the .. logging. Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
@@ -89,7 +89,7 @@ func (s *fetchResult) get(_ context.Context, propertyKey string) interface{} {
|
||||
return h
|
||||
case "body":
|
||||
// return undefined as arrayPromise is more complicated than an array.
|
||||
return undefined
|
||||
return goos.Undefined
|
||||
case "status":
|
||||
return uint32(s.res.StatusCode)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user