mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-20 10:26:44 +01:00
Updated for file not found
This commit is contained in:
parent
c86a0a6271
commit
0afd7d4fad
1 changed files with 2 additions and 2 deletions
|
@ -140,8 +140,8 @@ class Utilities:
|
|||
|
||||
yield package
|
||||
|
||||
except FileNotFoundError as err:
|
||||
self.raise_error_message(str(err))
|
||||
except FileNotFoundError:
|
||||
self.raise_error_message(f"No such file or directory: '{file}'")
|
||||
|
||||
@staticmethod
|
||||
def read_file(file: Union[str, Path]) -> list:
|
||||
|
|
Loading…
Reference in a new issue