Skip to content

Commit a272d72

Browse files
Removes extraneous logger
1 parent 81d8965 commit a272d72

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/sentry/notifications/platform/slack/renderers/metric_alert.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from __future__ import annotations
22

3-
import logging
4-
53
from sentry.incidents.models.incident import IncidentStatus
64
from sentry.integrations.messaging.types import LEVEL_TO_COLOR
75
from sentry.integrations.metric_alerts import get_status_text
@@ -18,8 +16,6 @@
1816
NotificationRenderedTemplate,
1917
)
2018

21-
logger = logging.getLogger(__name__)
22-
2319

2420
class SlackMetricAlertRenderer(NotificationRenderer[SlackRenderable]):
2521
provider_key = NotificationProviderKey.SLACK
@@ -51,8 +47,6 @@ def render[DataT: NotificationData](
5147
{"blocks": slack_body.get("blocks", []), "color": slack_body.get("color", "")}
5248
]
5349

54-
logger.info(f"attachment_blocks: {attachment_blocks}")
55-
5650
renderable = SlackRenderable(
5751
blocks=[],
5852
attachments=attachment_blocks,

0 commit comments

Comments
 (0)