Skip to content
Snippets Groups Projects
Commit 9d8d4213 authored by Hans Fangohr's avatar Hans Fangohr
Browse files

provide additional debug output

- in case of upcoming failure, this provides a clue in which function the
  failure is to find.
parent e968550b
No related branches found
No related tags found
1 merge request!35refactor create-directory-structure, and create 'clone_repo' function
...@@ -585,6 +585,7 @@ def get_release_info(mpsd_release: str, script_dir: Path) -> Tuple[str, str, Lis ...@@ -585,6 +585,7 @@ def get_release_info(mpsd_release: str, script_dir: Path) -> Tuple[str, str, Lis
# Get the info for release # Get the info for release
release_base_dir = script_dir / mpsd_release release_base_dir = script_dir / mpsd_release
if not os.path.exists(release_base_dir): if not os.path.exists(release_base_dir):
logging.debug(f"get_release_info({mpsd_release=}, {script_dir=}")
raise FileNotFoundError( raise FileNotFoundError(
"Release directory does not exist. Run create_dir_structure() first." "Release directory does not exist. Run create_dir_structure() first."
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment