Log when falling back to latest known price

This commit is contained in:
natsoni 2025-08-06 16:51:39 +02:00
parent ac1072170f
commit 40f32c83d1
No known key found for this signature in database
GPG key ID: C65917583181743B

View file

@ -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) {