Skip to content

Commit 0936265

Browse files
committed
fix cleanup
1 parent f4fcdb9 commit 0936265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/slackBotFunction/app/slack/slack_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def cleanup_previous_unfeedback_qa(conversation_key, current_message_ts, session
4646
)
4747
logger.info("Deleted unfeedback Q&A for privacy", extra={"message_ts": previous_message_ts})
4848

49-
except ClientError:
49+
except ClientError as e:
5050
if e.response.get("Error", {}).get("Code") == "ConditionalCheckFailedException":
5151
logger.info("Q&A has feedback - keeping for user", extra={"message_ts": previous_message_ts})
5252
else:

0 commit comments

Comments
 (0)