Browse Source

Refactoring

pull/239/head
Thomas 4 years ago
parent
commit
bd0e53525b
  1. 6
      apps/api/src/app/core/portfolio-calculator.ts

6
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;
}

Loading…
Cancel
Save