Skip to content

Commit a31914f

Browse files
clarityzachclaude
andcommitted
chore(cleanup): cleanup-defensive — drop no-op except in HTTP retry loop
Removed the trailing `except Exception: raise` after the RETRYABLE_EXCEPTIONS handler in HttpClient.get's retry loop. Without the catch, non-retryable exceptions propagate identically (Python's default behavior). Retry semantics unchanged. Verify: 227/227 tests pass, mypy 36 baseline unchanged, ruff clean. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent 7dee512 commit a31914f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/docpull/http/client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,6 @@ async def get(
439439
logger.error(f"HTTP fetch error for {url} after {self._max_retries + 1} attempts: {e}")
440440
raise
441441

442-
except Exception:
443-
# Non-retryable error - re-raise immediately
444-
raise
445-
446442
# Should not reach here, but just in case
447443
if last_error:
448444
raise last_error

0 commit comments

Comments
 (0)