Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Invalid Error handling of DataError #127

Open
mohabusama opened this issue Apr 27, 2018 · 0 comments
Open

Invalid Error handling of DataError #127

mohabusama opened this issue Apr 27, 2018 · 0 comments
Labels
Bug for issues where the product is not behaving as expected and thus reduce the value of the product

Comments

@mohabusama
Copy link
Contributor

DataError is not handled properly and responds with 500. Should be changed to 400 with proper error message.

sqlalchemy.exc.DataError: (psycopg2.DataError) value too long for type character varying(20)
@mohabusama mohabusama added the Bug for issues where the product is not behaving as expected and thus reduce the value of the product label Apr 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug for issues where the product is not behaving as expected and thus reduce the value of the product
Projects
None yet
Development

No branches or pull requests

1 participant