Fix missing container id, drop custom exception

ahab_hardkill
Tyler Goodlet 2022-07-07 17:10:06 -04:00
parent f356fb0a68
commit 019867b413
1 changed files with 1 additions and 5 deletions

View File

@ -51,10 +51,6 @@ class DockerNotStarted(Exception):
'Prolly you dint start da daemon bruh'
class ContainerError(RuntimeError):
'Error reported via app-container logging level'
@acm
async def open_docker(
url: Optional[str] = None,
@ -189,7 +185,7 @@ class Container:
def hard_kill(self, start: float) -> None:
delay = time.time() - start
log.error(
f'Failed to kill container {cid} after {delay}s\n'
f'Failed to kill container {self.cntr.id} after {delay}s\n'
'sending SIGKILL..'
)
# get out the big guns, bc apparently marketstore