Adding logging for errors in the share parsing.
This commit is contained in:
parent
6413b89345
commit
e39ed5203c
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue