Skip to content

CLI: Forego logging errors on multi-container operations#1163

Merged
dcantah merged 1 commit intoapple:mainfrom
dcantah:skip-log
Feb 5, 2026
Merged

CLI: Forego logging errors on multi-container operations#1163
dcantah merged 1 commit intoapple:mainfrom
dcantah:skip-log

Conversation

@dcantah
Copy link
Member

@dcantah dcantah commented Feb 5, 2026

Instead of logging errors, and then additionally throwing an error stating what containers couldn't be stopped/killed/deleted, let's just concatenate the errors and throw the single error.

Instead of logging errors, and then additionally throwing an
error stating what containers couldn't be stopped/killed/deleted,
lets just concatenate the errors and throw the single error.
@github-actions github-actions bot added the cli label Feb 5, 2026
Copy link
Contributor

@jglogan jglogan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved but see comment.

@@ -0,0 +1,32 @@
//===----------------------------------------------------------------------===//
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would we ever have to deal with aggregate errors below the command level? If so, would this be better defined along with container-specific error types in ContainerResource?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now I don't see much use, it's mostly a cli presentation helper

@dcantah dcantah merged commit 6e9b8d7 into apple:main Feb 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants