diff --git a/lib/Local.js b/lib/Local.js index 9c0ed97..32391e3 100644 --- a/lib/Local.js +++ b/lib/Local.js @@ -54,12 +54,14 @@ function Local(){ } var data = {}; - if(stdout) + if(!!stdout) data = JSON.parse(stdout); else if(stderr) data = JSON.parse(stderr); - else + else { callback(new LocalError('No output received')); + return; + } if(data['state'] != 'connected'){ callback(new LocalError(data['message']['message'])); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy