mirror of
https://github.com/harness/drone.git
synced 2025-05-10 22:21:22 +08:00
surface correct execution error (#656)
This commit is contained in:
parent
f1f942212a
commit
4722d60be2
@ -127,7 +127,7 @@ const Execution = () => {
|
||||
/>
|
||||
<PageBody
|
||||
className={cx(css.pageBody, { [css.withError]: !!error })}
|
||||
error={error ? getErrorMessage(error || executionError) : null}
|
||||
error={error || executionError ? getErrorMessage(error || executionError) : null}
|
||||
retryOnError={voidFn(refetch)}
|
||||
noData={{
|
||||
when: () => !execution && !loading && !executionLoading,
|
||||
|
@ -16,12 +16,11 @@
|
||||
|
||||
import React from 'react'
|
||||
import { Layout, Text } from '@harnessio/uicore'
|
||||
import { Icon } from '@harnessio/icons'
|
||||
import { BookmarkBook } from 'iconoir-react'
|
||||
|
||||
import { FontVariation } from '@harnessio/design-system'
|
||||
import { RepoPublicLabel } from 'components/RepoPublicLabel/RepoPublicLabel'
|
||||
import { CodeIcon, GitInfoProps } from 'utils/GitUtils'
|
||||
import type { GitInfoProps } from 'utils/GitUtils'
|
||||
import { RepositoryPageHeader } from 'components/RepositoryPageHeader/RepositoryPageHeader'
|
||||
import css from './RepositoryHeader.module.scss'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user