Skip to content

Commit 6dd079c

Browse files
committed
chore: improve error handling for dependency output
Signed-off-by: Demolus13 <parth.govale@oracle.com>
1 parent 9c10673 commit 6dd079c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macaron/console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def update_checks_summary(self, checks_summary: dict, total_checks: int) -> None
157157
def mark_failed(self) -> None:
158158
"""Convert any Processing Status entries to Failed."""
159159
for key, value in self.description_table_content.items():
160-
if str(value) == "Processing":
160+
if isinstance(value, Status):
161161
self.description_table_content[key] = "[red]Failed[/red]"
162162

163163
self.description_table = self._make_table(self.description_table_content, ["Details", "Value"])

0 commit comments

Comments
 (0)