Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbosco committed Jul 20, 2023
1 parent fe23bcb commit 1e7746c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dagfactory/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def get_datasets_uri_yaml_file(file_path: str, datasets_filter: str) -> List[str
if dataset["name"] in datasets_filter and "uri" in dataset
]
return datasets_result_uri
except FileNotFoundError:
raise FileNotFoundError(f"Error: File '{file_path}' not found.")
except FileNotFoundError as err:
raise FileNotFoundError(f"Error: File '{file_path}' not found.") from err
except yaml.YAMLError as error:
raise error

0 comments on commit 1e7746c

Please sign in to comment.