Updated for file not found

This commit is contained in:
Dimitris Zlatanidis 2023-03-30 09:19:50 +03:00
parent c86a0a6271
commit 0afd7d4fad

View file

@ -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: