ref: Clearer error messaging for upstream 403 and chromium bin

This commit is contained in:
Alicia Sykes
2026-05-07 21:46:04 +01:00
parent ac13b20e61
commit 1ba14ef0c0
4 changed files with 22 additions and 6 deletions

View File

@@ -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();