Skip to content

Commit

Permalink
🔥 Removed unnecessary error catching.
Browse files Browse the repository at this point in the history
  • Loading branch information
PepperMoJ committed Nov 13, 2024
1 parent ffc95e4 commit 3efe214
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions services/slack_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ def _send_alert_to_operations_engineering(self, blocks: list[dict]):
)
except SlackApiError as e:
logging.error("Slack API error: {%s}", e.response['error'])
except Exception as e:
logging.error("Failed to send Slack alert: {%s}", str(e))

def _create_block_with_message(self, message, block_type="section"):
return [
Expand Down

0 comments on commit 3efe214

Please sign in to comment.