diff --git a/utility-agent/scraper.js b/utility-agent/scraper.js index 3cbac62..2e4a95e 100644 --- a/utility-agent/scraper.js +++ b/utility-agent/scraper.js @@ -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); }