Commit d218407f authored by Denis Laxalde's avatar Denis Laxalde
Browse files

[hooks] Turn the error about incomplete configuration into a warning

To avoid cluttering the console.
parent 133dda956327
......@@ -47,7 +47,7 @@ def ckan_instance_configured(cls, req, **kwargs):
config = req.vreg.config
for option in ('ckan-baseurl', 'ckan-api-key', 'ckan-organization'):
if not config.get(option):
req.error('CKAN instance configuration incomplete, missing "%s" '
req.warning('CKAN instance configuration incomplete, missing "%s" '
'option' % option)
return 0
return 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment