We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39cd63f commit 86e27e4Copy full SHA for 86e27e4
structlog_sentry_logger/_config.py
@@ -15,7 +15,8 @@
15
16
try:
17
import git
18
-except ImportError: # Namely, when a git executable is not found
+except ImportError as exc: # Namely, when a git executable is not found
19
+ logging.getLogger(__name__).warning("Failed to import git", exc_info=exc)
20
git = None # type: ignore
21
22
import orjson # type: ignore
0 commit comments