frontend/plugins/github-actions: fix error display
This commit is contained in:
+2
-2
@@ -38,8 +38,8 @@ const BuildDetailsPage: FC<Props> = () => {
|
||||
}
|
||||
if (status.error) {
|
||||
return (
|
||||
<Typography variant="h4" color="error">
|
||||
Failed to load build, {status.error}
|
||||
<Typography variant="h6" color="error">
|
||||
Failed to load build, {status.error.message}
|
||||
</Typography>
|
||||
);
|
||||
}
|
||||
|
||||
+2
-2
@@ -36,8 +36,8 @@ const BuildListPage: FC<{}> = () => {
|
||||
}
|
||||
if (status.error) {
|
||||
return (
|
||||
<Typography variant="h4" color="error">
|
||||
Failed to load builds, {status.error}
|
||||
<Typography variant="h6" color="error">
|
||||
Failed to load builds, {status.error.message}
|
||||
</Typography>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user