mirror of
https://github.com/mempool/mempool.git
synced 2026-08-20 13:28:00 +02:00
Log when falling back to latest known price
This commit is contained in:
parent
ac1072170f
commit
40f32c83d1
1 changed files with 1 additions and 0 deletions
|
|
@ -279,6 +279,7 @@ class PriceUpdater {
|
|||
|
||||
if (this.latestPrices.USD === -1) {
|
||||
this.latestPrices = await PricesRepository.$getLatestConversionRates();
|
||||
logger.warn(`No BTC price available, falling back to latest known price: ${JSON.stringify(this.latestPrices)}`);
|
||||
}
|
||||
|
||||
if (this.ratesChangedCallback) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue