8000 changed logger.warn to logger.warning to remove DeprecationWarning (#… · etherscan-io/sentry-python@312beb2 · GitHub
[go: up one dir, main page]

Skip to content {"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}

Commit 312beb2

Browse files
petergaultneyuntitaker
authored andcommitted
changed logger.warn to logger.warning to remove DeprecationWarning (getsentry#145)
1 parent 7ba5665 commit 312beb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/aws_lambda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def setup_once():
2020
import __main__ as lambda_bootstrap
2121

2222
if not hasattr(lambda_bootstrap, "make_final_handler"):
23-
logger.warn(
23+
logger.warning(
2424
"Not running in AWS Lambda environment, "
2525
"AwsLambdaIntegration disabled"
2626
)

0 commit comments

Comments
 (0)
0