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

errors from GraphQL requests aren't displayed properly on client (PR available) #163

Open
jedwards1211 opened this issue Jul 11, 2016 · 0 comments

Comments

@jedwards1211
Copy link
Contributor

jedwards1211 commented Jul 11, 2016

Issue - Bug

  • OS: OSX / Linux / Windows / ? OSX
  • Node version: 5.10.1
  • NPM version: 3.9.6
  • RethinkDB version: 2.3.0 (CLANG 7.3.0 (clang-703.0.29))

Description

If I try to sign up using an existing email address but different password, the sign up form says "Server query error" at the top. The server prints out an error message:

DEBUG GraphQL Error: [ { [Error: {"_error":"Cannot create account","email":"Email already exists"}]
    originalError: [Error: {"_error":"Cannot create account","email":"Email already exists"}] } ]

Obviously "Email already exists" is intended to be displayed right below the email field in the form, but it's not, nor is the "Cannot create account" message displayed at the top of the form.

Other forms like the Login form similarly fail to display the intended error messages.

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

No branches or pull requests

1 participant