mirror of
https://github.com/Lissy93/web-check.git
synced 2025-08-19 00:46:19 +02:00
Slight improvments to error messaging for sitemap and quality report
This commit is contained in:
@@ -288,7 +288,7 @@ const Results = (): JSX.Element => {
|
||||
addressInfo: { address, addressType, expectedAddressTypes: urlTypeOnly },
|
||||
fetchRequest: () => fetch(`${api}/quality?url=${address}`)
|
||||
.then(res => parseJson(res))
|
||||
.then(res => res?.lighthouseResult || { error: 'No Data'}),
|
||||
.then(res => res?.lighthouseResult || { error: res.error || 'No Data' }),
|
||||
});
|
||||
|
||||
// Get the technologies used to build site, using Wappalyzer
|
||||
|
Reference in New Issue
Block a user