Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions slackclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
# mostly a proxy object to abstract how some of this works

import json
import traceback
import logging

from .server import Server
from .exceptions import ParseResponseError

LOG = logging.getLogger(__name__)


class SlackClient(object):
'''
Expand Down Expand Up @@ -52,7 +54,7 @@ def rtm_connect(self, with_team_state=True, **kwargs):
self.server.rtm_connect(use_rtm_start=with_team_state, **kwargs)
return self.server.connected
except Exception:
traceback.print_exc()
LOG.warn("Failed RTM connect", exc_info=True)
return False

def api_call(self, method, timeout=None, **kwargs):
Expand Down