diff --git a/apps/api/src/app/core/portfolio-calculator.ts b/apps/api/src/app/core/portfolio-calculator.ts index e0cd2633d..f51e0b3c5 100644 --- a/apps/api/src/app/core/portfolio-calculator.ts +++ b/apps/api/src/app/core/portfolio-calculator.ts @@ -363,10 +363,10 @@ export class PortfolioCalculator { currencies, userCurrency: this.currency }); - } catch (e) { + } catch (error) { console.error( - `failed to fetch info for date ${startDate} with exception`, - e + `Failed to fetch info for date ${startDate} with exception`, + error ); return null; }