From 0119b4600da346d747ab96e019b50086b9f790fd Mon Sep 17 00:00:00 2001 From: nurbek Date: Thu, 2 Dec 2021 21:18:05 +0600 Subject: [PATCH] val error --- src/drivers/npm/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index 33545d15b..367321316 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -995,7 +995,7 @@ class Site { ]) } catch (error) { this.analyzedUrls[url.href] = { - status: this.analyzedUrls[url.href].status || 0, + status: this.analyzedUrls[url.href]?.status || 0, error: error.message || error.toString(), }