Extended cmdhandler error reporting with a lot - every inlineCallback needs its own internal error reporting in order to catch everything.

This commit is contained in:
Griatch 2015-02-22 15:21:31 +01:00
parent c1243a9d6d
commit d1cd9da6bf
2 changed files with 188 additions and 142 deletions

View file

@ -184,6 +184,7 @@ class Mob(tut_objects.TutorialObject):
if last_interval:
# we have a previous subscription, kill this first.
TICKER_HANDLER.remove(self, last_interval, idstring)
self.db.last_ticker_interval = interval
if not stop:
# set the new ticker
TICKER_HANDLER.add(self, interval, idstring, hook_key)