diff --git a/pkg/client/transform.go b/pkg/client/transform.go index 76e77f03..9d1535bf 100644 --- a/pkg/client/transform.go +++ b/pkg/client/transform.go @@ -206,7 +206,7 @@ func Transform(res *nighthawk_client.ExecutionResponse, typ string) ([]byte, err func constructResults(res *nighthawk_client.ExecutionResponse) ([]Result, error) { results := make([]Result, 0) - if res == nil { + if res == nil || res.Output == nil { return nil, ErrResponseNil }