From 8394c5bbbdb9972cb194f4f523d9f0bebfe270b6 Mon Sep 17 00:00:00 2001 From: Leandro Damascena Date: Tue, 10 Jan 2023 16:06:18 +0000 Subject: [PATCH] docs(uncaught exception): adding warning --- docs/core/logger.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/core/logger.md b/docs/core/logger.md index 0fa112e564b..83f1110f4c4 100644 --- a/docs/core/logger.md +++ b/docs/core/logger.md @@ -293,6 +293,8 @@ Use `logger.exception` method to log contextual information about exceptions. Lo #### Uncaught exceptions +!!! 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." + Logger can optionally log uncaught exceptions by setting `log_uncaught_exceptions=True` at initialization. !!! info "Logger will replace any exception hook previously registered via [sys.excepthook](https://docs.python.org/3/library/sys.html#sys.excepthook){target='_blank'}."