We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b157e commit 20538daCopy full SHA for 20538da
packages/slackBotFunction/app/utils/handler_utils.py
@@ -62,4 +62,7 @@ def respond_with_eyes(bot_token, event):
62
client = WebClient(token=bot_token)
63
channel = event["channel"]
64
ts = event["ts"]
65
- client.reactions_add(channel=channel, timestamp=ts, name="eyes")
+ try:
66
+ client.reactions_add(channel=channel, timestamp=ts, name="eyes")
67
+ except Exception:
68
+ logger.error("Failed to respond with eyes", extra={"error": traceback.format_exc()})
0 commit comments