diff --git a/flytekit/deck/renderer.py b/flytekit/deck/renderer.py index 51157dc876..26d589e072 100644 --- a/flytekit/deck/renderer.py +++ b/flytekit/deck/renderer.py @@ -113,7 +113,7 @@ def to_html(self) -> str: .replace("\\n", "\n") .rstrip() ) - except subprocess.CalledProcessError as e: + except Exception as e: logger.error(f"Error occurred while fetching installed packages: {e}") return "Error occurred while fetching installed packages."