From 39b68b69ef6fd33e28ea6741112ea978c8c6c3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Ramos?= <47223013+jramsgz@users.noreply.github.com> Date: Wed, 29 Mar 2023 22:02:15 +0000 Subject: [PATCH] Remove console.error --- src/utils/config/scope.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/config/scope.js b/src/utils/config/scope.js index ccf08152..ad3cedaf 100644 --- a/src/utils/config/scope.js +++ b/src/utils/config/scope.js @@ -20,7 +20,7 @@ function checkIPRange(ip, ipSpace) { return true; } } else { - console.error("Invalid ipSpace: ", ipSpace); + throw new Error(`Invalid ipSpace: ${ipSpace}`); } return false; }