Skip to content
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

feat(shutdown): do not error if you try to shutdown a server which is already off #162

Merged
merged 1 commit into from
Nov 28, 2016

Conversation

sjelin
Copy link
Contributor

@sjelin sjelin commented Nov 24, 2016

When scripting, you might want to defensively run a shutdown command. If the shutdown fails
because the server is already off, you don't care. If it fails for another reason, you do care.
So I made trying to shutdown a server which is already off just a warning. I added a flag in case
you want the old behavior though.

… already off

When scripting, you might want to defensively run a `shutdown` command.  If the shutdown fails
because the server is already off, you don't care.  If it fails for another reason, you do care.
So I made trying to shutdown a server which is already off just a warning.  I added a flag in case
you want the old behavior though.
@sjelin sjelin mentioned this pull request Nov 25, 2016
@heathkit heathkit merged commit c864c9a into angular:master Nov 28, 2016
@sjelin sjelin deleted the shutdown branch November 28, 2016 22:56
sjelin added a commit to sjelin/webdriver-manager that referenced this pull request Dec 16, 2016
… already off (angular#162)

When scripting, you might want to defensively run a `shutdown` command.  If the shutdown fails because the server is already off, you don't care.  If it fails for another reason, you do care.
So I made trying to shutdown a server which is already off just a warning.  I added a flag in case you want the old behavior though.
sjelin added a commit to sjelin/webdriver-manager that referenced this pull request Dec 20, 2016
… already off (angular#162)

When scripting, you might want to defensively run a `shutdown` command.  If the shutdown fails because the server is already off, you don't care.  If it fails for another reason, you do care.
So I made trying to shutdown a server which is already off just a warning.  I added a flag in case you want the old behavior though.
sjelin added a commit to sjelin/webdriver-manager that referenced this pull request Dec 20, 2016
… already off (angular#162)

When scripting, you might want to defensively run a `shutdown` command.  If the shutdown fails because the server is already off, you don't care.  If it fails for another reason, you do care.
So I made trying to shutdown a server which is already off just a warning.  I added a flag in case you want the old behavior though.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants