Skip to content

Commit

Permalink
fix in last_polled handling
Browse files Browse the repository at this point in the history
Signed-off-by: Clemens Vasters <clemens@vasters.com>
  • Loading branch information
clemensv committed Sep 26, 2024
1 parent ef465f6 commit 2683842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noaa/noaa/noaa.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def load_last_polled_times(self) -> Dict:
last_polled_times[product] = {}
last_polled_times[product][station] = datetime.fromisoformat(timestamp)
return last_polled_times
except Exception as e:
print(f"Error loading last polled times: {e}")
except Exception:
print("Error loading last polled times")
return {}

def save_last_polled_times(self, last_polled_times: Dict):
Expand Down

0 comments on commit 2683842

Please sign in to comment.