[ckan-changes] [ckan/ckan] 92ea0c: Return message from Postgres when there's a valida...
GitHub
noreply at github.com
Sun Dec 9 22:35:37 UTC 2018
Branch: refs/heads/better-datastore-validation-error
Home: https://github.com/ckan/ckan
Commit: 92ea0c6f6c12d8511b8c3221ffa33904993ef00c
https://github.com/ckan/ckan/commit/92ea0c6f6c12d8511b8c3221ffa33904993ef00c
Author: amercader <amercadero at gmail.com>
Date: 2018-12-09 (Sun, 09 Dec 2018)
Changed paths:
M ckanext/datastore/backend/postgres.py
Log Message:
-----------
Return message from Postgres when there's a validation during import
Right now when there's a validation error during datastore_create you
just get a generic message with no actual details (eg wrong type or
wrong values). At least let's return Postgres message which gives the
column and/or the wrong value.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the ckan-changes
mailing list