editicalu / nordselect

Library to detect the best NordVPN server
https://editicalu.github.io/nordselect
MIT License
24 stars 5 forks source link

Panic on run of the binary #8

Closed editicalu closed 5 years ago

editicalu commented 5 years ago

Starting today, I've found out the CLI paniced at the run:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', libcore/option.rs:345:21

Cause

I am not sure, because I'm having troubles compiling for the moment (thanks to OpenSSL), but it is probably related to the movement of the API from https://api.nordvpn.com/server to https://nordvpn.com/api/server, giving an 502 Bad Gateway code on https://api.nordvpn.com/server, what causes an panic because we expect 200 OK.

Fix

On it's way.