mirror of
https://github.com/apple/container.git
synced 2026-08-24 10:05:43 -05:00
- Closes #1756. - `RuntimeService.gracefulStopContainer(_:signal:timeout:)` wraps the graceful-stop attempt in `do { … } catch {}`. The empty catch silently discards any thrown error before falling through to the unconditional `lc.stop()`. It is the only catch in this file that does not log; every other one uses `self.log.error(…, metadata: ["error": "\(error)"])`. - This adds a single log line matching that convention, so a failed graceful stop (and the resulting fall-through to a forced VM shutdown) is more diagnosable. The intentional fall-through to `lc.stop()` is unchanged.