Skip to content

server: Return SearchQuerySyntaxError as 400 instead of 500

It is caused by a client error; and raising it as 500 prevents the RPC client from re-raising it using the right class.

Test Plan

!131 (closed) makes one of the test trigger this code path


Migrated from D7436 (view on Phabricator)

Merge request reports