@worldsibu/convector-core-errors
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -13,3 +13,8 @@ "use strict"; | ||
_this.explanation = "Chaincode error, this is a wrapper around the responses"; | ||
_this.message = _super.prototype.getMessage.call(_this, _super.prototype.getOriginal.call(_this)); | ||
var firstResWithErr = responses.find(function (res) { return res.error; }); | ||
_this.message = _super.prototype.getMessage.call(_this, firstResWithErr ? | ||
firstResWithErr.error instanceof Error ? | ||
firstResWithErr.error.stack : | ||
JSON.stringify(firstResWithErr.error) : | ||
_this.getOriginal()); | ||
return _this; | ||
@@ -16,0 +21,0 @@ } |
{ | ||
"name": "@worldsibu/convector-core-errors", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "Convector Errors", | ||
@@ -10,2 +10,15 @@ "license": "Apache-2.0", | ||
}, | ||
"keywords": [ | ||
"typescript", | ||
"chaincode", | ||
"blockchain", | ||
"hyperledger", | ||
"solutions", | ||
"environment", | ||
"hyperledger fabric", | ||
"smart contract", | ||
"run", | ||
"hurley", | ||
"composer" | ||
], | ||
"homepage": "https://worldsibu.tech/convector/convector-smart-contracts/", | ||
@@ -12,0 +25,0 @@ "main": "./dist/src/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46635
544