diff --git a/elastic_recheck/bot.py b/elastic_recheck/bot.py index 792a1866..cf381aa5 100755 --- a/elastic_recheck/bot.py +++ b/elastic_recheck/bot.py @@ -198,8 +198,8 @@ class RecheckWatch(threading.Thread): event, debug=not self.commenting) except er.ResultTimedOut as e: - self.log.warn(e.msg) - self._read(msg=e.msg) + self.log.warning(e.message) + self._read(msg=e.message) except Exception: self.log.exception("Uncaught exception processing event.")