Skip to content

HTTP Component Should Error when Connection failed. #361

@fawadasaurus

Description

@fawadasaurus

Describe the bug
Currently when it's unable to access a URL, it throws a warn. It should return an error to the calling component.

To Reproduce
2023-07-09T17:01:00 WARN component-wide error error=Component("error sending request for url (https://): error trying to connect: dns error: failed to lookup address information: Name or service not known")
2023-07-09T17:01:00 WARN op:error err=PacketError { msg: "error sending request for url (https://): error trying to connect: dns error: failed to lookup address information: Name or service not known" }

Expected behavior
It should throw an error.

Actual behavior
It returns a warn and the rest of the flow continues.

Environment:

  • OS
  • Architecture
  • Build Version

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions