Skip to content

feat: include the command in error descriptions#229

Merged
fortmarek merged 2 commits intomainfrom
fix/include-command-in-error-descriptions
Mar 2, 2026
Merged

feat: include the command in error descriptions#229
fortmarek merged 2 commits intomainfrom
fix/include-command-in-error-descriptions

Conversation

@fortmarek
Copy link
Member

Summary

  • Added a command parameter to the terminated and signalled CommandError cases
  • Error descriptions now include the full command that failed, e.g. The command 'git status' terminated with the code 1 instead of just The command terminated with the code 1

Test plan

  • Verify the project builds successfully
  • Trigger a command failure and confirm the error message includes the command

🤖 Generated with Claude Code

The `terminated` and `signalled` error cases did not include the
command that failed, making it harder to debug failures. Add a
`command` parameter to both cases and include it in the error
descriptions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fortmarek fortmarek changed the title Include the command in error descriptions feat: include the command in error descriptions Mar 2, 2026
@fortmarek fortmarek marked this pull request as ready for review March 2, 2026 10:38
@fortmarek fortmarek requested a review from pepicrft March 2, 2026 10:38
Mockable 0.3.0 had an actor isolation error in Mocker.swift that
broke builds with Swift 6.1. This was fixed in 0.3.1 and later.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fortmarek fortmarek merged commit c6975f1 into main Mar 2, 2026
6 of 10 checks passed
@fortmarek fortmarek deleted the fix/include-command-in-error-descriptions branch March 2, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant