Browse Source

Fix error dialog

pull/664/head
mrjvs 2 years ago
parent
commit
a1a7ab024a
  1. 2
      src/pages/parts/player/ScrapeErrorPart.tsx

2
src/pages/parts/player/ScrapeErrorPart.tsx

@ -37,7 +37,7 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) { @@ -37,7 +37,7 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) {
if (v.reason) str += `${v.reason}\n`;
if (v.error?.message)
str += `${v.error.name ?? "unknown"}: ${v.error.message}\n`;
if (v.error) str += `${v.error.toString()}\n`;
else if (v.error) str += `${v.error.toString()}\n`;
});
return str;
}, [props, location]);

Loading…
Cancel
Save