diff --git a/backend/condition/parsing/factory.py b/backend/condition/parsing/factory.py index c2963079..7db8383f 100644 --- a/backend/condition/parsing/factory.py +++ b/backend/condition/parsing/factory.py @@ -5,4 +5,6 @@ def select_parser(filepath: str) -> Parser: path = filepath.lower() if "lbwf" in path: - return LbwfParser() \ No newline at end of file + return LbwfParser() + + raise ValueError("Unrecognised file path, unable to instantiate Parser") \ No newline at end of file