mirror of
https://github.com/Lissy93/web-check.git
synced 2026-05-15 04:00:04 -04:00
ref: Clearer error messaging for upstream 403 and chromium bin
This commit is contained in:
@@ -34,6 +34,9 @@ const techStackHandler = async (url) => {
|
||||
}
|
||||
return results;
|
||||
} catch (error) {
|
||||
if (/ENOENT|Browser was not found|Could not find Chromium/i.test(error.message)) {
|
||||
return { skipped: error.message };
|
||||
}
|
||||
throw new Error(error.message);
|
||||
} finally {
|
||||
await wappalyzer.destroy();
|
||||
|
||||
Reference in New Issue
Block a user