Skip to content

Commit

Permalink
Add _check_internal and _troubleshoot_internal
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Mar 26, 2024
1 parent 420e4fa commit e8efdd6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/lvmnps/actor/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

from typing import TYPE_CHECKING

from lvmopstools.actor import LVMActor
from lvmopstools.actor import ErrorCodes, LVMActor

from clu import Command
from sdsstools.configuration import Configuration
Expand Down Expand Up @@ -104,5 +104,15 @@ async def stop(self):

return await super().stop()

async def _check_internal(self):
return await super()._check_internal()

async def _troubleshoot_internal(
self,
error_code: ErrorCodes,
exception: Exception | None = None,
):
return await super()._troubleshoot_internal(error_code, exception)


NPSCommand = Command[NPSActor]

0 comments on commit e8efdd6

Please sign in to comment.