Closed mastasky closed 3 years ago
This error also occurs when a valid API key is used. Is there a fix to it?
I'm working on ...
Solved in the next version ... i'll be v5.0.0
nice
On Wed, Mar 18, 2020 at 1:22 PM Marco Canali notifications@github.com wrote:
Solved in the next version ... i'll be v5.0.0
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CICCIOSGAMINO/openweather-apis/issues/30#issuecomment-600539536, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHUOVLDMJKAAPNDMPID552LRICOGJANCNFSM4J7K4LZA .
Hello guys, I think this issue is already fixed in this merged PR #41
Since the function tries to access a deeply nested value which doesn't exist, we get an exception which isn't caught and forwarded to the callback.
https://github.com/CICCIOSGAMINO/openweather-apis/blob/71081eff2c84dcce6e8dbc78877639f0266caaae/index.js#L162
Repro: