BroderickCarlin/openweather

Default example doesn't work

unguest opened this issue · 2 comments

With the provided default example, I come to this error :

thread 'reqwest-internal-sync-core' panicked at 'called `Option::unwrap()` on a `None` value', /Users/****/.cargo/registry/src/github.com-1ecc6299db9ec823/security-framework-0.1.16/src/secure_transport.rs:602:65

It comes with the call of this function :

openweather::get_current_weather(loc, API_KEY).unwrap();

Am I doing anything wrong or is that a bug from the crate ?

Are you providing it with an API key or were you able to further debug the issue?

I provided an API key while testing it