Feature/harmonize logger output (#2321)
* Harmonize logger output * Update changelog
This commit is contained in:
parent
1c5437e1fd
commit
b21884eb66
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- Harmonized the logger output: <symbol> (<dataSource>)
|
||||||
- Improved the language localization for Dutch (`nl`)
|
- Improved the language localization for Dutch (`nl`)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -784,7 +784,7 @@ export class PortfolioCalculator {
|
|||||||
);
|
);
|
||||||
} else if (!currentPosition.quantity.eq(0)) {
|
} else if (!currentPosition.quantity.eq(0)) {
|
||||||
Logger.warn(
|
Logger.warn(
|
||||||
`Missing historical market data for symbol ${currentPosition.symbol}`,
|
`Missing historical market data for ${currentPosition.symbol} (${currentPosition.dataSource})`,
|
||||||
'PortfolioCalculator'
|
'PortfolioCalculator'
|
||||||
);
|
);
|
||||||
hasErrors = true;
|
hasErrors = true;
|
||||||
|
@ -145,7 +145,9 @@ export class DataGatheringService {
|
|||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
Logger.error(
|
Logger.error(
|
||||||
`Failed to enhance data for symbol ${symbol} by ${dataEnhancer.getName()}`,
|
`Failed to enhance data for ${symbol} (${
|
||||||
|
assetProfile.dataSource
|
||||||
|
}) by ${dataEnhancer.getName()}`,
|
||||||
error,
|
error,
|
||||||
'DataGatheringService'
|
'DataGatheringService'
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user