mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-24 18:21:53 +01:00
Fix error dialog
This commit is contained in:
parent
ee7df0a109
commit
a1a7ab024a
@ -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…
Reference in New Issue
Block a user