TooTallNate / proxy-agents

Node.js HTTP Proxy Agents Monorepo
https://proxy-agents.n8.io
918 stars 238 forks source link

Handle exceptions from agent addRequest() #330

Open addaleax opened 1 month ago

addaleax commented 1 month ago

tls.createSecureContext() can throw exceptions, so .addRequest() can throw exceptions as well.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 6332c0e8c5d419e6bfda012a658b53b091f38741

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------- | ----- | | agent-base | Patch |

Not sure what this means? Click here to learn what changesets are.

[Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/mongodb-js/proxy-agents/new/report-add-request-errors?filename=.changeset/moody-islands-lie.md&value=---%0A%22agent-base%22%3A%20patch%0A---%0A%0AHandle%20exceptions%20from%20agent%20addRequest()%0A)

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
proxy-agents ✅ Ready (Inspect) Visit Preview Aug 14, 2024 4:10pm