better error handling in mercator import job