Skip to content

Conversation

@paramah
Copy link
Owner

@paramah paramah commented Aug 13, 2025

Summary

  • propagate execution errors from ExecCmdOutput
  • halt pruning helpers when command output retrieval fails

Testing

  • go test ./... (fails: log.Println call has possible Printf formatting directive %v)
  • go test -vet=off ./...

https://chatgpt.com/codex/tasks/task_e_689cf0b643248330ab86b03fb5e2f3c4

@what-the-diff
Copy link

what-the-diff bot commented Aug 13, 2025

PR Summary

  • Better Error Handling in Crucial Functions
    The error handling of key operations like 'pruning' containers, images, volumes, and networks has been improved. If an error happens during these operations, it is now not only caught but also reported in an easily understood way to the user.

  • Improved Command Execution Reporting
    The 'ExecCmdOutput' function, which is used to execute commands, has been updated. Now, if there happens to be a mishap during a command's execution, it won't be overlooked. Instead, an error message will be presented, aiding in quick recognition and diagnosis of problems.

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