[xs] Improve logging to track down search error.