We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5f37f1 commit 51d9d5dCopy full SHA for 51d9d5d
aws/logs_monitoring/settings.py
@@ -243,10 +243,8 @@ def is_api_key_valid():
243
# Check if the API key is the correct number of characters
244
if len(DD_API_KEY) != 32:
245
raise Exception(
246
- f"""
247
- Invalid Datadog API key format. Expected 32 characters, received {len(DD_API_KEY)}.
248
- Verify your API key at https://app.{DD_SITE}/organization-settings/api-keys
249
- """
+ f"Invalid Datadog API key format. Expected 32 characters, received {len(DD_API_KEY)}. "
+ f"Verify your API key at https://app.{DD_SITE}/organization-settings/api-keys"
250
)
251
252
# Validate the API key
0 commit comments