Skip to content

Commit

Permalink
fix: Record an error if finalizing job errored
Browse files Browse the repository at this point in the history
  • Loading branch information
bellisk committed Dec 2, 2024
1 parent fbaf9b6 commit e96a8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/switzerland/harvester/base_sbb_harvester.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ def finalize(self, harvest_object, harvest_object_data):
log.exception(message)
self._save_object_error(message, harvest_object, "Import")

return True
return False

try:
ordered_resources, unmatched_resources = self._get_ordered_resources(
Expand Down

0 comments on commit e96a8ca

Please sign in to comment.