From a1bdcee515431622dfd63a93b73dc2ca6761b4f0 Mon Sep 17 00:00:00 2001 From: Neha Agarwal Date: Thu, 30 Mar 2023 17:07:40 +0530 Subject: [PATCH] Throw exception in startSync --- lib/Local.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Local.js b/lib/Local.js index 7486bc7..fd58429 100644 --- a/lib/Local.js +++ b/lib/Local.js @@ -67,7 +67,7 @@ function Local(){ delete(that.binaryPath); return that.startSync(options); } else { - return new LocalError(error.toString()); + throw new LocalError(error.toString()); } } };