Better search error reporting

Much more useful for sentry!