Skip to content

Commit

Permalink
fix: ObjectNotFound exeption for tk instead of logic.NotFound
Browse files Browse the repository at this point in the history
  • Loading branch information
kovalch committed May 28, 2024
1 parent 971010c commit 2d40725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/dcatapchharvest/harvesters.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def _get_guid(self, dataset_dict, source_url=None):
)
dataset_organization_name = dataset_organization['name']

except tk.NotFound:
except tk.ObjectNotFound:
raise ValueError(
'The selected organization was not found.'
)
Expand Down

0 comments on commit 2d40725

Please sign in to comment.