remove bot.panic() throw kwarg

This commit is contained in:
jesopo 2019-10-25 14:27:12 +01:00
parent fce791e38b
commit b3f43a6721

View file

@ -137,7 +137,7 @@ class Bot(object):
elif type == TriggerResult.Return:
return returned
def panic(self, reason=None, throw=True):
def panic(self, reason=None):
callback = None
if not reason == None:
@ -326,7 +326,7 @@ class Bot(object):
try:
loop()
except Exception as e:
self.panic("Exception on '%s' thread" % name, throw=False)
self.panic("Exception on '%s' thread" % name)
def _write_loop(self):
while self._writing: