diff --git a/bnpm/path_helpers.py b/bnpm/path_helpers.py index ecee5c5..aa6f828 100644 --- a/bnpm/path_helpers.py +++ b/bnpm/path_helpers.py @@ -386,7 +386,7 @@ def check_file_openable(file_path): print(f"File {file_path} can be opened.") if verbose > 1 else None return True except Exception as e: - print(f"File {file_path} could not be opened: {e}") if verbose > 0 else None + print(f"FAILURE: File {file_path} could not be opened: {e}") if verbose > 0 else None return False def check_with_timeout(file_path, time_limit): @@ -395,7 +395,7 @@ def check_with_timeout(file_path, time_limit): try: return future.result(timeout=time_limit) except TimeoutError: - print(f"File {file_path} took too long to open.") if verbose > 0 else None + print(f"FAILURE: File {file_path} took too long to open.") if verbose > 0 else None return False def walk_files(dir_outer):