Skip to content

Commit

Permalink
Print exception
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronfriedman6 committed Nov 12, 2024
1 parent c1d7195 commit 2a3d091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alarms/models/overdrive_checkouts_alarms.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def run_checks(self):
self.logger.info("\nOVERDRIVE CHECKOUTS\n")
try:
overdrive_count = self.overdrive_client.get_count(self.yesterday)
except:
self.logger.error("Failed to scrape OverDrive Marketplace")
except Exception as e:
self.logger.error(f"Failed to scrape OverDrive Marketplace: {e}")
return

redshift_table = "overdrive_checkouts" + self.redshift_suffix
Expand Down

0 comments on commit 2a3d091

Please sign in to comment.