fix: narrow swallowed exception in get_pitching_peripherals() (#10) #35

Merged
Claude merged 4 commits from ai/paper-dynasty-card-creation#10 into main 2026-03-23 03:53:19 +00:00

View File

@ -533,7 +533,7 @@ def get_pitching_peripherals(season: int):
row_data.append(player_id)
if len(headers) == 0:
col_names.append("key_bbref")
except Exception:
except KeyError:
pass
row_data.append(cell.text)
if len(headers) == 0: