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

Report error in case of duplicated user on DB #61

Closed
leportella opened this issue Feb 13, 2019 · 1 comment
Closed

Report error in case of duplicated user on DB #61

leportella opened this issue Feb 13, 2019 · 1 comment

Comments

@leportella
Copy link
Collaborator

When you have duplicated in the system it returns a 500 error with a traceback such as:

sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint failed: users.name [SQL: 'INSERT INTO users (name, admin, created, last_activity, cookie_id, state, encrypted_auth_state) VALUES (?, ?, ?, ?, ?, ?, ?)'] [parameters: ('johnsnow', 0, '2019-02-13 16:12:47.223572', None, 'ff5efbcf60fc42b18b0200f98d99f865', None, None)] (Background on this error at: http://sqlalche.me/e/gkpj)

@leportella
Copy link
Collaborator Author

Fixed by #62

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