Skip to content

Commit 52b7787

Browse files
docs(logger): Add warning of uncaught exceptions (#1826)
1 parent 788f39b commit 52b7787

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/core/logger.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ Use `logger.exception` method to log contextual information about exceptions. Lo
293293

294294
#### Uncaught exceptions
295295

296+
!!! warning "CAUTION: some users reported a problem that causes this functionality not to work in the Lambda runtime. We recommend that you don't use this feature for the time being."
297+
296298
Logger can optionally log uncaught exceptions by setting `log_uncaught_exceptions=True` at initialization.
297299

298300
!!! info "Logger will replace any exception hook previously registered via [sys.excepthook](https://docs.python.org/3/library/sys.html#sys.excepthook){target='_blank'}."

0 commit comments

Comments
 (0)