<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _onError(self, error):
 """ Stop observer, raise exception, then restart. This prevents an infinite ping pong game of exceptions. """

        self.stop()
        self._logModule.err(
            error,
            "Unhandled error logging exception to %s" % (self.airbrakeURL,))
        self.start()