SearchExport: print_r the exception (not just the header) when there are errors.