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

Updated json response messages on invalid add term #15

Merged
merged 2 commits into from
Dec 7, 2015

Conversation

blobaugh
Copy link
Contributor

@blobaugh blobaugh commented Dec 7, 2015

Previously there was a block doing multiple checks to ensure it was ok to add
a new term. If it failed a very generic json error response was returned. This
did not allow the user/other devs to understand why a term was not being added.
This commit breaks the checks apart into their own conditionals and provides the
user with better feedback when something has gone amiss.

Previously there was a block doing multiple checks to ensure it was ok to add
a new term. If it failed a very generic json error response was returned. This
did not allow the user/other devs to understand why a term was not being added.
This commit breaks the checks apart into their own conditionals and provides the
user with better feedback when something has gone amiss.
jtsternberg added a commit that referenced this pull request Dec 7, 2015
Updated json response messages on invalid add term
@jtsternberg jtsternberg merged commit d9611b8 into WebDevStudios:master Dec 7, 2015
@jtsternberg
Copy link
Contributor

👍

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