diff --git a/src/lib/blockchain-api.ts b/src/lib/blockchain-api.ts index 660b3bf..c9c15c5 100644 --- a/src/lib/blockchain-api.ts +++ b/src/lib/blockchain-api.ts @@ -210,7 +210,7 @@ export async function getHistoricalPriceRange(days: number, currency: Currency): }, {}, 3600); return data.prices || []; } catch (error) { - console.error(`Failed to fetch historical price range for ${days} days:`, error); + console.error('Failed to fetch historical price range for %s days:', String(days), error); return []; } }