Bugfix/fix currency in error log in exchange rate data service (#2868)
* Fix currency * Update changelog
This commit is contained in:
parent
76bf839010
commit
c418e75139
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed the currency in the error log of the exchange rate data service
|
||||||
|
|
||||||
## 2.38.0 - 2024-01-13
|
## 2.38.0 - 2024-01-13
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -87,7 +87,7 @@ export class ExchangeRateDataService {
|
|||||||
exchangeRatesByCurrency[currency][dateString] = previousExchangeRate;
|
exchangeRatesByCurrency[currency][dateString] = previousExchangeRate;
|
||||||
|
|
||||||
Logger.error(
|
Logger.error(
|
||||||
`No exchange rate has been found for ${DEFAULT_CURRENCY}${targetCurrency} at ${dateString}`,
|
`No exchange rate has been found for ${DEFAULT_CURRENCY}${currency} at ${dateString}`,
|
||||||
'ExchangeRateDataService'
|
'ExchangeRateDataService'
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user