Skip to content

Commit

Permalink
[FAB-4766] No need to print nil error
Browse files Browse the repository at this point in the history
Removes err variable from logs printout in case on nil.

Change-Id: I3e582dc4a6d6973d69ffdfbfc657c517add61dd9
Signed-off-by: Artem Barger <bartem@il.ibm.com>
  • Loading branch information
C0rWin committed Jun 15, 2017
1 parent 859fd8a commit 63d73ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/chaincode/chaincode_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ func (chaincodeSupport *ChaincodeSupport) Launch(context context.Context, cccid
}

cds = ccpack.GetDepSpec()
chaincodeLogger.Debugf("launchAndWaitForRegister fetched %d from file system", len(cds.CodePackage), err)
chaincodeLogger.Debugf("launchAndWaitForRegister fetched %d bytes from file system", len(cds.CodePackage))
}
}

Expand Down

0 comments on commit 63d73ee

Please sign in to comment.