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

CRM-21371 - An api error when calling drush cvapi should be treated a… #503

Merged
merged 1 commit into from
Oct 31, 2017

Conversation

eileenmcnaughton
Copy link
Contributor

…s a drush error

Also removes an unused var & defines a used var

…s a drush error

Also defines a used var and removes legacy svn id refs
@eileenmcnaughton
Copy link
Contributor Author

My only concern here is that failing api calls will become 'chattier' and people may have been making use of their existing tendency to fail quietly

@eileenmcnaughton
Copy link
Contributor Author

@mlutfy are you up to merge this - @jmcclelland tested it & commented on JIRA so it has already had some review (I would also contend it's low risk - although I guess there is the question of whether new 'chattiness' would upset some people?)

@mlutfy
Copy link
Member

mlutfy commented Oct 31, 2017

I did a bit of testing and seems good to me. I agree with Jamie, the exit code is probably one of the best parts of this.

@mlutfy mlutfy merged commit 9cba06d into civicrm:7.x-master Oct 31, 2017
@eileenmcnaughton eileenmcnaughton deleted the 7.x-master branch October 31, 2017 22:15
@eileenmcnaughton
Copy link
Contributor Author

Right - it was the lack of exit code that caused me to dig into it

@eileenmcnaughton
Copy link
Contributor Author

(we weren't noticing fails)

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