Skip to content
Snippets Groups Projects
Commit 642a9b8c authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Replace CSEntryError with ValidationError in models

ValidationError is catched by default by flask-admin.
It's easy to catch in the api/main.py to raise a CSEntryError.

We actually don't need to catch ValidationError as it's based on
ValueError that we already catch.
parent 05937d53
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment