Tuathe commited on
Commit
e6c37e4
·
verified ·
1 Parent(s): 87aa525

Update notify_slack.py

Browse files
Files changed (1) hide show
  1. notify_slack.py +2 -2
notify_slack.py CHANGED
@@ -4,9 +4,9 @@ import streamlit as st
4
  SLACK_WEBHOOK_URL = st.secrets["SLACK_WEBHOOK_URL"]
5
 
6
  def send_slack_alert(log_message, s3_link=None):
7
- text = f"🚨 *Critical Log Alert*\n```{log_message}```"
8
  if s3_link:
9
- text += f"\n📄 [Runbook]({s3_link})"
10
 
11
  payload = {"text": text}
12
 
 
4
  SLACK_WEBHOOK_URL = st.secrets["SLACK_WEBHOOK_URL"]
5
 
6
  def send_slack_alert(log_message, s3_link=None):
7
+ text = f" *Critical Log Alert*\n```{log_message}```"
8
  if s3_link:
9
+ text += f"\n [Runbook]({s3_link})"
10
 
11
  payload = {"text": text}
12