diff --git a/recce/state.py b/recce/state.py index d5ba7675..70b63386 100644 --- a/recce/state.py +++ b/recce/state.py @@ -121,7 +121,7 @@ def from_file(file_path: str, file_type: SupportedFileTypes = SupportedFileTypes logger.debug(f"Load state file from: '{file_path}'") if not Path(file_path).is_file(): - raise FileNotFoundError(f"State file not found: {file_path}") + return None io = file_io_factory(file_type) json_content = io.read(file_path)