Merge pull request 'fix: narrow swallowed exception in get_pitching_peripherals() (#10)' (#35) from ai/paper-dynasty-card-creation#10 into main

This commit is contained in:
Claude 2026-03-23 03:53:18 +00:00
commit dde163e2fb

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: