Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions awslambdaric/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,10 @@ def run(handler, lambda_runtime_client):

if error_result is not None:
from .lambda_literals import lambda_unhandled_exception_warning_message

logging.warning(lambda_unhandled_exception_warning_message)

if os.environ.get("LAMBDA_DISABLE_EXCEPTION_WARNING"):
logging.warning(lambda_unhandled_exception_warning_message)

log_error(error_result, log_sink)
lambda_runtime_client.post_init_error(error_result)

Expand Down
Loading