(self)
Make script sleep for some amount of time when an exception occurs.

        To implement more advance exception sleeping like exponential backoff you
        can override this method. Also note that you can use self.exception_count
        to track the number of consecutive exceptions.
Make script sleep for some amount of time when an exception occurs.
Make script sleep for some amount of time when an exception occurs .
def sleep_on_exception(self):
        """Make script sleep for some amount of time when an exception occurs.

        To implement more advance exception sleeping like exponential backoff you
        can override this method. Also note that you can use self.exception_count
        to track the number of consecutive exceptions.
        """
        self.sleep(self.exception_sleep)
def sleep_on_exception ( self ) : self . sleep ( self . exception_sleep )