michaelschal cc4d013dfc Handle duplicate weather data entries and improve historical fetching
Address the "duplicate key value violates unique constraint" error by adding a try-catch block around weather data creation to gracefully handle existing entries and fetch them instead. Also, improve error logging for historical weather data fetching.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d43bd811-9372-45a7-8ac9-4a954c0538e1
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/d43bd811-9372-45a7-8ac9-4a954c0538e1/xi5G4qi
2025-08-15 08:26:14 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
S
Description
No description provided
80 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 96.5%
Shell 1.9%
CSS 0.5%
JavaScript 0.5%
PLpgSQL 0.4%
Other 0.2%