add conosle log
This commit is contained in:
@@ -294,8 +294,9 @@ const main = async () => {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
gpaFetchDurationHistogram.record(Date.now() - startFetch);
|
gpaFetchDurationHistogram.record(Date.now() - startFetch);
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch((e) => {
|
||||||
logger.error('Failed to fetch GPA');
|
logger.error('Failed to fetch GPA');
|
||||||
|
console.log(e);
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
|||||||
@@ -235,8 +235,9 @@ const main = async () => {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
dlobProvider
|
dlobProvider
|
||||||
.fetch()
|
.fetch()
|
||||||
.catch(() => {
|
.catch((e) => {
|
||||||
logger.error('Failed to fetch GPA');
|
logger.error('Failed to fetch GPA');
|
||||||
|
console.log(e);
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
|||||||
Reference in New Issue
Block a user