We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c85f100 commit e17a455Copy full SHA for e17a455
static/app/views/preprod/buildDetails/buildDetails.tsx
@@ -118,8 +118,9 @@ export default function BuildDetails() {
118
<BuildError
119
title="Build details unavailable"
120
message={
121
- buildDetailsQuery.error?.message ||
122
- 'Unable to load build details for this artifact' // TODO(preprod): translate once we have a final design
+ typeof buildDetailsQuery.error?.responseJSON?.error === 'string'
+ ? buildDetailsQuery.error?.responseJSON.error
123
+ : 'Unable to load build details for this artifact' // TODO(preprod): translate once we have a final design
124
}
125
/>
126
</Layout.Page>
0 commit comments