Handle search errors instead of just ignoring them.