lmammino / tall

Promise-based, No-dependency URL unshortner (expander) module for Node.js
https://lmammino.github.io/tall/
MIT License
72 stars 7 forks source link

Not throwing catchable error so node process exits #14

Closed alexdpoon closed 4 years ago

alexdpoon commented 5 years ago

When using tall() inside a try/catch block, the following kind of error isn't thrown and catchable, but instead, the node process exits with:

Error: connect ETIMEDOUT 216.70.100.245:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

The URL was http://bit.ly/nitioninfo

Using tall v2.2.0

lmammino commented 4 years ago

Closed by #15