Added procfile
This commit is contained in:
parent
448864a695
commit
5e0457d051
|
@ -4,7 +4,7 @@
|
||||||
"description": "Get forecasts from various platforms",
|
"description": "Get forecasts from various platforms",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node src/index.js",
|
"start": "node src/utils/index.js",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -161,6 +161,7 @@ export async function csetforetell(){
|
||||||
console.log(question)
|
console.log(question)
|
||||||
results.push(question)
|
results.push(question)
|
||||||
} catch(error){
|
} 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`)
|
console.log(`We encountered some error when fetching the URL: ${url}, so it won't appear on the final json`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user