summaryrefslogtreecommitdiff
path: root/Omni/Bild/Meta.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-13 14:43:26 -0500
committerBen Sima <ben@bsima.me>2025-11-13 14:43:26 -0500
commit55f676da16691c7eb23f1ffcb3b589dc3842b274 (patch)
tree98afaf46f17ff3c01bece44bf412390808539587 /Omni/Bild/Meta.hs
parent81c46826005a60018c2a4f31675ba1f5eff1c7d8 (diff)
Replace bare exception catches with specific exceptions
- Replace Exception with httpx.HTTPError, httpx.TimeoutException, re.error in extract_og_metadata - Replace Exception with ValueError, KeyError in auth verification - Replace Exception with httpx errors and ValueError in submit_article - Replace Exception with ValueError, KeyError, AttributeError in RSS feed generation - Replace Exception with ValueError, KeyError in cancel/retry/delete job handlers Improves error handling specificity and removes BLE001 linter suppressions. Amp-Thread-ID: https://ampcode.com/threads/T-8edacbeb-b343-49ca-b524-1c999272acb6 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'Omni/Bild/Meta.hs')
0 files changed, 0 insertions, 0 deletions