diff --git a/packages/server/src/ui/routes/build-view/audit-detail/simple-details.jsx b/packages/server/src/ui/routes/build-view/audit-detail/simple-details.jsx
index 380b57757..b2479bcf5 100644
--- a/packages/server/src/ui/routes/build-view/audit-detail/simple-details.jsx
+++ b/packages/server/src/ui/routes/build-view/audit-detail/simple-details.jsx
@@ -55,7 +55,21 @@ export const SimpleDetails = props => {
);
}
case 'thumbnail':
- return ;
+ return (
+ {
+ const img = evt.srcElement;
+ if (!(img instanceof HTMLImageElement)) return;
+
+ // On failure just replace the image with a 1x1 transparent gif.
+ img.onerror = null;
+ img.src =
+ 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==';
+ }}
+ />
+ );
case 'url': {
let display = value;
let hostname = '';