OAIHarvest: for for bad exception handling

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>