Skip to content

issue with debugPrinter #444

@hemanthbsridhar

Description

@hemanthbsridhar

given my response is :

{
  "changelog": {
    "connector": "git",
    "location": "folder/changelog.yaml"
  },
  "created": 1714477707,
  "identifier": "ODLWLAHkwl",
  "name": "ODLWLAHkwl",
  "service": "service",
  "tags": {
    "tag1": "val1",
    "tag2": "val2"
  }
}

with

httpexpect.NewDebugPrinter(t, true),

getting error

panic: interface conversion: io.ReadCloser is io.nopCloserWriterTo, not *httpexpect.bodyWrapper [recovered]
	panic: interface conversion: io.ReadCloser is io.nopCloserWriterTo, not *httpexpect.bodyWrapper

making it false, works fine

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions