Remove try/except in buffer_prnt
There shouldn't be any exceptions here. If there are, we shouldn't catch
them, so we can notice and fix them.
@@ -1941,7 +1941,6 @@ class SlackChannel(SlackChannelCommon):
self_msg = tag_nick == self.team.nick
tags = tag(ts, tagset, user=tag_nick, self_msg=self_msg, backlog=backlog, no_log=no_log, extra_tags=extra_tags)
- try:
if (config.unhide_buffers_with_activity
and not self.is_visible() and not self.muted):
w.buffer_set(self.channel_buffer, "hidden", "0")
@@ -1949,8 +1948,6 @@ class SlackChannel(SlackChannelCommon):
w.prnt_date_tags(self.channel_buffer, ts.major, tags, data)
if backlog or self_msg:
self.mark_read(ts, update_remote=False, force=True)
- except:
- dbg("Problem processing buffer_prnt")
def send_message(self, message, subtype=None, request_dict_ext={}):
message = linkify_text(message, self.team)
