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.
Loading
Please register or sign in to comment