Broad 'except Exception' could silently swallow unexpected failures. URLError and ConnectionError are both subclasses of OSError, so 'except (ImportError, OSError)' captures all real offline/not-installed cases while letting genuine programming errors propagate. Also include the exception detail in the warning message so failures are diagnosable in logs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ai | ||
| database | ||
| domain | ||
| graphs | ||
| podcasts | ||
| utils | ||
| __init__.py | ||
| CLAUDE.md | ||
| config.py | ||
| exceptions.py | ||