casey / intermodal

A command-line utility for BitTorrent torrent file creation, verification, and more
https://imdl.io
Creative Commons Zero v1.0 Universal
487 stars 25 forks source link

Include domain, IP address, and port in network error messages #489

Open casey opened 3 years ago

casey commented 3 years ago

@atomgardner Is working on adding an announce subcommand in #466, which, since it interacts with the network, adds a new Network error type.

This error type should include the domain, IP address, and port of the remote host in the error message, to help users debug.

I'm opening this issue since doing this will be a bit of a headache, and I'd like to keep the initial PR as simple as possible.