diff --git a/lib/local_comms.js b/lib/local_comms.js index 1473357..61b8338 100644 --- a/lib/local_comms.js +++ b/lib/local_comms.js @@ -261,6 +261,8 @@ function Database(){ cachedData[minerID].totalHashes += share.shares; cachedData[minerIDWithIdentifier].goodShares += 1; cachedData[minerID].goodShares += 1; + } else { + console.error("Error in share parser: " + JSON.stringify(share)); } if(shareObject.length === shareCount){ // Perform insert and return