Error logging for gsheet fetch

This commit is contained in:
efarooqui
2021-04-14 18:07:48 -07:00
parent 6ab37ccb70
commit 8bd5f38ac4
3 changed files with 6 additions and 3 deletions

View File

@@ -217,7 +217,10 @@ class GsheetFetcher extends Fetcher {
})
.then(this._buildBlueprintsAsync())
.then(() => true)
.catch(() => false)
.catch((err) => {
console.log(`Error fetching gsheets: ${err.message}`)
return false
})
}
}