Harmonize error log (#499)

pull/501/head
Thomas Kaul 3 years ago committed by GitHub
parent 3f31cec859
commit da6eaa0d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save