Unit Tests for CKAN module
Use try except to manage CKAN errors
return Exceptions instead of JSON with the formatted error
Handle the Exceptions as flash messages