Closed metaodi closed 6 years ago
I added the traceback as we most likely have an error in a custom profile, so this makes the it easier pinpoint the source of the error (in my case I was hunting a KeyError
somewhere in my custom profile)
I added two test cases to test the new error handling
parse_dataset
), hence we don't have control over the code. If an exception is raised, the harvester should fail gracefully incl. a nice error msg in the logIDCATRDFHarvester
provides extension points to the harvester. As we don't have control over the code behind, the same as above applies: if an exception is raised, the harvester should fail gracefully (possibly only for one harvest_object) and log an error msg.Thanks @metaodi!
parse_dataset
in profiles fails_save_gather_error
ifdatasets()
generators fails