[Skip-CI] More specific exception

merge-requests/11/head
erik 1 year ago
parent 9db91c0a16
commit 2463d36674

@ -25,7 +25,7 @@ class FileHandler(ABC):
case '.py':
file_handler = PythonFileHandler()
case _:
raise Exception(
raise RuntimeError(
f'The file type "{config_file_type}" is not implemented')
# TODO: Attribute is only set in classmethod. Should this be initialized outside of this class?
file_handler.config_file_path = file_path

Loading…
Cancel
Save