From da6eaa0d77201a9369093ab9c6176ffa1a7c8b34 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Mon, 29 Nov 2021 21:01:53 +0100 Subject: [PATCH] Harmonize error log (#499) --- apps/api/src/app/portfolio/portfolio-calculator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/portfolio/portfolio-calculator.ts b/apps/api/src/app/portfolio/portfolio-calculator.ts index 2dc328532..0a41bcb02 100644 --- a/apps/api/src/app/portfolio/portfolio-calculator.ts +++ b/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; }