frontend/plugins/github-actions: fix error display

This commit is contained in:
Patrik Oldsberg
2020-02-06 17:40:00 +01:00
parent d571c714ed
commit c0426dcdbf
2 changed files with 4 additions and 4 deletions
@@ -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>
);
}
@@ -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>
);
}