File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
services/dynamic-sidecar/src/simcore_service_dynamic_sidecar Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 44from asyncio import Lock
55from typing import Annotated , Any , Final
66
7+ from aiodocker import DockerError
78from common_library .json_serialization import json_loads
89from fastapi import APIRouter , Depends , HTTPException
910from fastapi import Path as PathParam
@@ -166,6 +167,7 @@ async def get_containers_activity(
166167 ContainerExecContainerNotFoundError ,
167168 ContainerExecCommandFailedError ,
168169 ContainerExecTimeoutError ,
170+ DockerError ,
169171 ):
170172 _logger .warning (
171173 "Could not run inactivity command '%s' in container '%s'" ,
Original file line number Diff line number Diff line change 33from datetime import timedelta
44from typing import Final
55
6+ from aiodocker import DockerError
67from models_library .callbacks_mapping import UserServiceCommand
78from servicelib .logging_utils import log_context
89
@@ -39,6 +40,7 @@ async def run_before_shutdown_actions(
3940 ContainerExecContainerNotFoundError ,
4041 ContainerExecCommandFailedError ,
4142 ContainerExecTimeoutError ,
43+ DockerError ,
4244 ):
4345 _logger .warning (
4446 "Could not run before_shutdown command %s in container %s" ,
You can’t perform that action at this time.
0 commit comments