Remove mock fallback from utility scraper

This commit is contained in:
Deep Koluguri 2026-06-28 14:34:47 -04:00
parent 858e3b4ffd
commit 8c9df40760
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ async function runScrapers(credentials) {
report += `💡 *FirstEnergy*: ${usage.trim()} kWh used today (~${cost.trim()})\n`;
} catch (err) {
console.warn('[Scraper] FirstEnergy scraping failed:', err.message);
report += `💡 *FirstEnergy (Simulated Fallback)*: 24.5 kWh used today (~$3.15) [Actual scrape failed]\n`;
report += `💡 *FirstEnergy*: ❌ Error scraping data (${err.message})\n`;
} finally {
await page.close().catch(()=>null);
}
@ -70,7 +70,7 @@ async function runScrapers(credentials) {
report += `🔥 *Peoples Gas*: ${usage.trim()} CCF used today (~${cost.trim()})\n`;
} catch (err) {
console.warn('[Scraper] Peoples Gas scraping failed:', err.message);
report += `🔥 *Peoples Gas (Simulated Fallback)*: 3.2 CCF used today (~$2.40) [Actual scrape failed]\n`;
report += `🔥 *Peoples Gas*: ❌ Error scraping data (${err.message})\n`;
} finally {
await page.close().catch(()=>null);
}