log more sql errors during import and diff updates