From 1838ac39973070410f21f2e9c34434b7ecbcff44 Mon Sep 17 00:00:00 2001 From: jobevers Date: Wed, 8 Feb 2017 10:20:19 -0600 Subject: [PATCH] more logging around daemon process management --- app/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/main.js b/app/main.js index a1eb61e31..61a03e2f4 100644 --- a/app/main.js +++ b/app/main.js @@ -56,12 +56,16 @@ function lauchDaemon() { app.on('ready', function(){ // Check if the daemon is already running. If we get // an error its because its not running + console.log('Checking for lbrynet daemon') client.request( 'status', [], function (err, res) { // Did it all work ? if (err) { + console.log('lbrynet daemon needs to be launched') lauchDaemon(); + } else { + console.log('lbrynet daemon is already running') } } );