Comment 2 for bug 1528472

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to searchlight (master)

Submitter: Jenkins
Branch: master

commit 079b50e322a55891abdcd5eea809b1d4198d50a2
Author: liyingjun <email address hidden>
Date: Thu Dec 3 00:35:15 2015 +0800

    Raise HTTPBadRequest when passing invalid query to search api

    Currently, Internal Server Error raised when passing invalid
    query for searching which makes user confusing. Raise
    HTTPBadRequest instead in the case.

    Change-Id: I242d87b6c63a09b3e4113e8c7f67ae6d6abeabf3
    Closes-bug: #1528472