sbstp / rust-igd

Internet Gateway Device (UPNP) client
https://docs.rs/igd/
MIT License
105 stars 43 forks source link

Don't panic while searching gateway #56

Closed ackintosh closed 1 year ago

ackintosh commented 1 year ago

search_gateway() panics because of attohttpc::get() would panics with something invalid urls.

This PR makes search_gateway() log errors instead of panic so that users identify the cause of errors.

ackintosh commented 1 year ago

@sbstp Thank you for merging this! I would appreciate it if you cut a new release. 🙂

sbstp commented 1 year ago

done