Browse Source

Harmonize error log (#499)

pull/501/head
Thomas Kaul 3 years ago
committed by GitHub
parent
commit
da6eaa0d77
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/api/src/app/portfolio/portfolio-calculator.ts

2
apps/api/src/app/portfolio/portfolio-calculator.ts

@ -516,7 +516,7 @@ export class PortfolioCalculator {
);
} else if (!currentPosition.quantity.eq(0)) {
Logger.error(
`Initial value is missing for symbol ${currentPosition.symbol}`
`Missing initial value for symbol ${currentPosition.symbol} at ${currentPosition.firstBuyDate}`
);
hasErrors = true;
}

Loading…
Cancel
Save