From 40f32c83d13b3994df8efc233ea9aca35fa51fc4 Mon Sep 17 00:00:00 2001 From: natsoni Date: Wed, 6 Aug 2025 16:51:39 +0200 Subject: [PATCH] Log when falling back to latest known price --- backend/src/tasks/price-updater.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/tasks/price-updater.ts b/backend/src/tasks/price-updater.ts index 8fa9fc700..75027d07f 100644 --- a/backend/src/tasks/price-updater.ts +++ b/backend/src/tasks/price-updater.ts @@ -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) {