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

core/txfeed: fix not-found status code for Find() #531

Merged
merged 2 commits into from Feb 15, 2017
Merged

Commits on Feb 15, 2017

  1. core/txfeed: fix not-found status code for Find()

    When retrieving a transaction feed by alias, an empty response
    should return a CH002 error, rather than a CH000. This is resolved
    by substituting sql.ErrNoRows with pg.ErrUserInputNotFound.
    jeffomatic authored and iampogo committed Feb 15, 2017
    Copy the full SHA
    1a82661 View commit details
    Browse the repository at this point in the history
  2. use Sub idiom

    jeffomatic authored and iampogo committed Feb 15, 2017
    Copy the full SHA
    1eebd69 View commit details
    Browse the repository at this point in the history