Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Component Should Error when Connection failed. #361

Open
fawadasaurus opened this issue Jul 9, 2023 · 0 comments
Open

HTTP Component Should Error when Connection failed. #361

fawadasaurus opened this issue Jul 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@fawadasaurus
Copy link
Contributor

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.

@fawadasaurus fawadasaurus added bug Something isn't working triage To be triaged labels Jul 9, 2023
@jsoverson jsoverson removed the triage To be triaged label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants