You need to sign in or sign up before continuing.
Commit 4d98364b authored by Eric Duminil's avatar Eric Duminil
Browse files

Error message

parent b369d49e
......@@ -39,7 +39,7 @@ def main() -> None:
folder = get_simstadt_folder()
print(f"SimStadt folder : {folder}")
except ValueError as e:
print(f"SimStadt folder : NOT FOUND ({e})")
print(f"SimStadt folder : NOT FOUND\n{e}")
return
output = get_simstadt_output(folder)
......
......@@ -41,10 +41,10 @@ def find_simstadt(parent_folder: Path, simstadt_glob: str = SIMSTADT2_GLOB) -> P
return found
except StopIteration as e:
raise ValueError(
f"SimStadt not found in {parent_folder}/{simstadt_glob}. "
"Please Set the SIMSTADT_FOLDER environment variable,"
"or install SimStadt on the Desktop."
"https://simstadt.hft-stuttgart.de/getting-started/install-software/"
f"SimStadt not found in {parent_folder}/{simstadt_glob}.\n"
"Please Set the SIMSTADT_FOLDER environment variable, "
"or install SimStadt on the Desktop.\n\n"
"See https://simstadt.hft-stuttgart.de/getting-started/install-software/"
) from e
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment