add conosle log

This commit is contained in:
Nour Alharithi
2023-12-05 09:23:04 -08:00
parent 05a1a92598
commit ff8f2f2f13
2 changed files with 4 additions and 2 deletions

View File

@@ -294,8 +294,9 @@ const main = async () => {
.then(() => {
gpaFetchDurationHistogram.record(Date.now() - startFetch);
})
.catch(() => {
.catch((e) => {
logger.error('Failed to fetch GPA');
console.log(e);
})
.finally(() => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars