More debugging info in search exception