Skip to content

Improve logging in swift_build_support/shell.py #74592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Conversation

MaxDesiatov
Copy link
Contributor

Currently, when a command fails with this message

ERROR: command terminated with a non-zero exit status 1, aborting

it's unclear at all which exact command terminated, which makes it very hard to debug issues in the build script.

Currently, when a command fails with this message 

```
ERROR: command terminated with a non-zero exit status 1, aborting
```

it's unclear at all which exact command terminated, which makes it very hard to debug issues in the build script.
@MaxDesiatov MaxDesiatov added the build-script Area → utils: The build script label Jun 20, 2024
@MaxDesiatov MaxDesiatov self-assigned this Jun 20, 2024
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci build toolchain

@MaxDesiatov MaxDesiatov requested review from etcwilde and edymtt June 20, 2024 23:22
Copy link
Contributor

@etcwilde etcwilde left a comment

Choose a reason for hiding this comment

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

I think we could do a clean up with formatted strings. Up to you.

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) June 21, 2024 21:36
@MaxDesiatov MaxDesiatov disabled auto-merge June 21, 2024 21:36
@MaxDesiatov MaxDesiatov merged commit eef85a7 into main Jun 26, 2024
6 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/log-command branch June 26, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-script Area → utils: The build script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants