lib/slack/smart-bot/comm/get_presence.rb in slack-smart-bot-1.14.2 vs lib/slack/smart-bot/comm/get_presence.rb in slack-smart-bot-1.15.0
- old
+ new
@@ -13,8 +13,9 @@
client.web_client.users_getPresence(user: user)
end
end
rescue Exception => stack
@logger.warn stack
+ return {presence: "unknown"}
end
end
end