Skip to content

Commit ec4b4e9

Browse files
committed
Enh: Less visual clutter for docker kill warning
Closes #177
1 parent 9eabb1d commit ec4b4e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/swerex/deployment/docker.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,9 @@ async def stop(self):
278278
timeout=10,
279279
)
280280
except (subprocess.CalledProcessError, subprocess.TimeoutExpired) as e:
281-
self.logger.warning(f"Failed to kill container {self._container_name}: {e}", exc_info=True)
281+
self.logger.warning(
282+
f"Failed to kill container {self._container_name}: {e}. Will try harder.", exc_info=False
283+
)
282284
for _ in range(3):
283285
self._container_process.kill()
284286
try:

0 commit comments

Comments
 (0)