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 f8aad4e commit 304f4b9Copy full SHA for 304f4b9
datadog_lambda/api.py
@@ -75,7 +75,7 @@ def get_api_key() -> str:
75
# Secrets manager endpoints: https://docs.aws.amazon.com/general/latest/gr/asm.html
76
try:
77
secrets_region = DD_API_KEY_SECRET_ARN.split(":")[3]
78
- except Exception as e:
+ except Exception as _:
79
logger.debug(
80
"Invalid secret arn in DD_API_KEY_SECRET_ARN. Unable to get API key."
81
)
0 commit comments