(self, exception_type, exception_value, traceback)
Logs unexpected failures, unregisters and stops the actor.
Logs unexpected failures, unregisters and stops the actor.
Logs unexpected failures unregisters and stops the actor .
def _handle_failure(self, exception_type, exception_value, traceback):
        """Logs unexpected failures, unregisters and stops the actor."""
        logger.error(
            f"Unhandled exception in {self}:",
            exc_info=(exception_type, exception_value, traceback),
        )
        ActorRegistry.unregister(self.actor_ref)
        self.actor_stopped.set()
def _handle_failure ( self , exception_type , exception_value , traceback ) : logger . error ( f"Unhandled exception in {self}:" , exc_info = ( exception_type , exception_value , traceback ) , ) ActorRegistry . unregister ( self . actor_ref ) self . actor_stopped . set ( )