diff --git a/src/web/traceViewer/ui/actionList.css b/src/web/traceViewer/ui/actionList.css index 471d5f0b90..e256d5390c 100644 --- a/src/web/traceViewer/ui/actionList.css +++ b/src/web/traceViewer/ui/actionList.css @@ -106,7 +106,11 @@ color: var(--blue); } -.action-entry .codicon-error { +.action-entry .codicon { + padding: 0 2px; +} + +.action-entry .codicon-error, .action-entry .codicon-issues { color: red; } diff --git a/src/web/traceViewer/ui/actionList.tsx b/src/web/traceViewer/ui/actionList.tsx index d4cd0e87e8..6cfae0fd35 100644 --- a/src/web/traceViewer/ui/actionList.tsx +++ b/src/web/traceViewer/ui/actionList.tsx @@ -75,6 +75,7 @@ export const ActionList: React.FC = ({ const { metadata } = action; const selectedSuffix = action === selectedAction ? ' selected' : ''; const highlightedSuffix = action === highlightedAction ? ' highlighted' : ''; + const error = metadata.error?.error?.message; const { errors, warnings } = modelUtil.stats(action); return
= ({ {!!errors &&
{errors}
} {!!warnings &&
{warnings}
}
+ {error &&
}
; })}