Skip to content

Commit

Permalink
log evt
Browse files Browse the repository at this point in the history
  • Loading branch information
jimlyndon committed Jun 20, 2015
1 parent d6481c1 commit 6ee85d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chat_worker.py
Expand Up @@ -57,7 +57,7 @@ def on_welcome(self, serv, event):
def on_disconnect(self, serv, event):
self.is_connected = False

event_str = "{} : {} : {} : {}".format(event.eventtype(), event.source(), event.target(), event.arguments())
event_str = str(event)

logging.warning('[%s] Lost connection to Twitch.tv IRC.', self.worker_name)
logging.warning('[%s] More info: %s', self.worker_name, serv.info())
Expand Down

0 comments on commit 6ee85d8

Please sign in to comment.