Skip to content

Commit

Permalink
replace ValueError with CatalogManagerError
Browse files Browse the repository at this point in the history
  • Loading branch information
dougiesquire committed Oct 17, 2023
1 parent a310523 commit f2a05ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/access_nri_intake/catalog/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def load(

if isinstance(path, list):
if len(path) != 1:
raise ValueError(
raise CatalogManagerError(
f"Only a single data source can be passed to CatalogManager.load. Received {len(path)}"
)
path = path[0]
Expand Down

0 comments on commit f2a05ee

Please sign in to comment.