Skip to content

Conversation

@dtaniwaki
Copy link
Contributor

STDERR from system function is hard to notice in the capistrano log especially the logs are colorized. I think it's better to show something when it gets failed.

@numbata
Copy link
Collaborator

numbata commented Aug 18, 2016

👍


def execute(cmd)
result = system cmd
@cap.error "Failed to executethe local command: #{cmd}" unless result
Copy link
Collaborator

Choose a reason for hiding this comment

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

missed space in "execute the".

@dtaniwaki
Copy link
Contributor Author

@numbata I fixed the typo and squashed the commits.

@numbata numbata merged commit 4058b3e into sgruhier:master Aug 19, 2016
@dtaniwaki dtaniwaki deleted the show-failure branch August 22, 2016 00:57
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.

2 participants