Skip to content

Commit 9740c2d

Browse files
committed
modify logging for security inspector issue
1 parent 3bab5e5 commit 9740c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/notify_slack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def lambda_handler(event: Dict[str, Any], context: Dict[str, Any]) -> str:
454454
:returns: none
455455
"""
456456
if os.environ.get("LOG_EVENTS", "False") == "True":
457-
logging.info(f"Event logging enabled: `{json.dumps(event)}`")
457+
logging.info("Event logging enabled: %s", json.dumps(event))
458458

459459
for record in event["Records"]:
460460
sns = record["Sns"]

0 commit comments

Comments
 (0)