Avoid fatal errors by catching exceptions made by the wrapper->set() method.
Merge pull request #6343 from openscholar/6342

Avoid fatal errors during import