Potential fix for code scanning alert no. 32: Clear-text logging of sensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Musa 2025-12-19 17:40:40 -08:00 committed by GitHub
parent 082a8c0d93
commit d885ab3395
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -193,7 +193,7 @@ async def get_weather_data(location: str, days: int = 1):
weather_data = await get_live_weather(latitude, longitude, days)
if not weather_data:
logger.warning(f"Could not fetch weather data for {location_name}")
logger.warning("Could not fetch weather data for requested location")
return {
"location": location_name,
"forecast": [