Adjusted error description to make more sense.

This commit is contained in:
Patrick 2024-08-17 18:11:36 +02:00
parent e1404fee58
commit 089ea25c10

View File

@ -177,7 +177,7 @@ def _find_lib(env: Environment, name: str, paths: 'list[str]', type : str = 'sta
return lib_path
if allow_fail:
return None
raise Exception(f'Could not find library with name {name} in paths: "{", ".join(paths)}" with name: "{fname}".')
raise Exception(f'Could not find library with name {name} in paths: "{", ".join(paths)}" filename: "{fname}".')
def _error(env: Environment, message: str):
print(message, file=sys.stderr)