Skip to content

[error ux] print script name upon error #1547

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 1 commit into from
Oct 10, 2023
Merged

Conversation

savil
Copy link
Collaborator

@savil savil commented Oct 10, 2023

Summary

Printing the name to make it easier to identify the source of the error.

How was it tested?

Added this script

"hello": [
  "echo \"hello\"",
  "exit 1"
],

ran devbox run hello and got:

Error: error running script "hello" in Devbox: exit status 1

Copy link
Collaborator Author

savil commented Oct 10, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@savil savil merged commit ca4d880 into main Oct 10, 2023
@savil savil deleted the savil/print-script-error branch October 10, 2023 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants