Add changelog for #4525

This commit is contained in:
Mark Backman
2026-05-19 18:32:02 -04:00
parent e1f3b4fdbe
commit 6fca53c31d

View File

@@ -0,0 +1 @@
- Services and transports with missing optional dependencies now raise `ImportError` instead of a bare `Exception` when their module is imported without the required extra installed. The original `ModuleNotFoundError` is preserved as `__cause__`, so code that wraps these imports can now use `except ImportError:` cleanly instead of `except Exception:`.