Remove string conversion and add error judgment (#2174)
Remove string conversion and add error judgment (#2174)


manish-sethi/fabric,stemlending/fabric,jimthematrix/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,stemlending/fabric,stemlending/fabric,hyperledger/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,manish-sethi/fabric,jimthematrix/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,hyperledger/fabric