From df64aa6fb0de8e6ac27f81e0aba7960e2643d206 Mon Sep 17 00:00:00 2001 From: DugarMeha Date: Thu, 5 Mar 2026 23:40:54 +0530 Subject: [PATCH] fix: Added a message to get more user info --- .../danswerbot/slack/handlers/handle_buttons.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/backend/danswer/danswerbot/slack/handlers/handle_buttons.py b/backend/danswer/danswerbot/slack/handlers/handle_buttons.py index 01ba96dc722..d2fdd0a3a15 100644 --- a/backend/danswer/danswerbot/slack/handlers/handle_buttons.py +++ b/backend/danswer/danswerbot/slack/handlers/handle_buttons.py @@ -295,6 +295,20 @@ def handle_followup_button( unfurl=False, ) + # Ask user for debugging details + respond_in_thread( + client=client.web_client, + channel=channel_id, + text=( + "To help us debug your issue faster, please share the following details:\n" + "- *Environment* (e.g., Production, Staging, alpha)\n" + "- *TenantId* and *Organization Id* \n" + "- *ConnectionId*\n" + ), + thread_ts=thread_ts, + unfurl=False, + ) + if action_id is not None: message_id, _, _ = decompose_action_id(action_id)