sleep(self.snooze_time)
self.snooze_time = min(self.snooze_time + self.snooze_time_step,
self.snooze_time_cap)
- # except Exception as exc:
- # exception = exc
- # # any other exception is fatal, so kill loop
- # break
+ except Exception as exc:
+ exception = exc
+ # any other exception is fatal, so kill loop
+ break
# cleanup
self.running = False