[ckan-changes] [ckan/ckan] 99a1c2: Add yet another potential error message.

GitHub noreply at github.com
Fri Feb 19 12:05:19 UTC 2016


  Branch: refs/heads/solr-errors
  Home:   https://github.com/ckan/ckan
  Commit: 99a1c2f6a5c953f969c4d9e97399a875857d9e20
      https://github.com/ckan/ckan/commit/99a1c2f6a5c953f969c4d9e97399a875857d9e20
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M ckan/lib/search/query.py
    M ckan/tests/controllers/test_package.py

  Log Message:
  -----------
  Add yet another potential error message.

Because we support so many 'versions' of Solr, we're encountering
different error messages as the only way of determining what went wrong.
In some cases the response is HTML :(

To fix this we explicitly check in the test if it succeeded (we get a
200 when we get an error response) and inform the dev where to go to add
their newly discovered error message.




More information about the ckan-changes mailing list