diff --git a/util/getWeather.js b/util/getWeather.js index 34208e1..cce7049 100644 --- a/util/getWeather.js +++ b/util/getWeather.js @@ -15,6 +15,7 @@ module.exports = async function (location) { return; }else if(res.statusCode != 200){ resolve(`Something went wrong while getting the weather for ${location}`); + console.log(`Got status code: ${res.statusCode} when trying to get weather for ${location}`); } else{ resolve(data); success = true;