diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..6184e0c --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: node .src/utils/index.js diff --git a/package.json b/package.json index bd90ab0..5688226 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Get forecasts from various platforms", "main": "src/index.js", "scripts": { - "start": "node src/index.js", + "start": "node src/utils/index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { diff --git a/src/platforms/csetforetell-fetch.js b/src/platforms/csetforetell-fetch.js index d510680..3679832 100644 --- a/src/platforms/csetforetell-fetch.js +++ b/src/platforms/csetforetell-fetch.js @@ -161,6 +161,7 @@ export async function csetforetell(){ console.log(question) results.push(question) } catch(error){ + console.log(error) console.log(`We encountered some error when fetching the URL: ${url}, so it won't appear on the final json`) } }