Issue ckan nojson

Sometimes CKAN returns a broken JSON page, so the server cannot parse it properly. This pull request adds a control to skip this problem, save it in the log error file, and continue the execution.