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

mpsd_release may not exist; make error message more generic

parent 35ca1c67
No related branches found
No related tags found
1 merge request!41Status command
...@@ -854,9 +854,10 @@ def environment_status(mpsd_release: str, root_dir: Union[str, Path]) -> dict: ...@@ -854,9 +854,10 @@ def environment_status(mpsd_release: str, root_dir: Union[str, Path]) -> dict:
spack_dir = toolchain_dir / "spack" spack_dir = toolchain_dir / "spack"
if not spack_dir.exists(): if not spack_dir.exists():
logging.debug(f"Looking for files in {spack_dir}")
logging.error( logging.error(
f"Release {mpsd_release} has not been completly installed yet" f"Release {mpsd_release} has not been completely installed yet"
", try reinstalling it (spack directory not found)" ", or is missing."
) )
return None return None
# find all folders for all microarch in the release directory # find all folders for all microarch in the release directory
......
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