diff options
-rw-r--r-- | web/src/pages/Build.jsx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web/src/pages/Build.jsx b/web/src/pages/Build.jsx index a7f48db5d..1c089b21c 100644 --- a/web/src/pages/Build.jsx +++ b/web/src/pages/Build.jsx @@ -35,6 +35,7 @@ import { FileCodeIcon, TerminalIcon, PollIcon, + ExclamationIcon, } from '@patternfly/react-icons' import { fetchBuildAllInfo } from '../actions/build' @@ -161,6 +162,13 @@ class BuildPage extends React.Component { <Fetching /> ) : build.hosts ? ( <BuildOutput output={build.hosts} /> + ) : build.error_detail ? ( + <> + <EmptyState variant={EmptyStateVariant.small}> + <EmptyStateIcon icon={ExclamationIcon} /> + </EmptyState> + <p><b>Error:</b> {build.error_detail}</p> + </> ) : ( <EmptyState variant={EmptyStateVariant.small}> <EmptyStateIcon icon={PollIcon} /> |