Skip to content

Commit 9281648

Browse files
committed
bugfix sending to slack
1 parent 6bafca4 commit 9281648

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/robusta/integrations/slack/sender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ def send_finding_to_slack(
731731
file_blocks.extend(Transformer.tableblock_to_fileblocks(other_blocks, SLACK_TABLE_COLUMNS_LIMIT))
732732
file_blocks.extend(Transformer.tableblock_to_fileblocks(attachment_blocks, SLACK_TABLE_COLUMNS_LIMIT))
733733

734-
message = self.prepare_slack_text(
734+
message, error_msg = self.prepare_slack_text(
735735
finding.title, max_log_file_limit_kb=sink_params.max_log_file_limit_kb, files=file_blocks
736736
)
737737

0 commit comments

Comments
 (0)