Skip to content

Commit

Permalink
Catch all exceptions when rendering python dependencies (#2664)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas J. Fan <[email protected]>
  • Loading branch information
thomasjpfan authored Aug 8, 2024
1 parent 6e04c11 commit 70ebdba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/deck/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down

0 comments on commit 70ebdba

Please sign in to comment.