Add context to error message #11
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cerc-io/registry-sdk",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"repository": "git@github.com:cerc-io/registry-sdk.git",
|
||||
|
@ -383,6 +383,6 @@ export class LaconicClient extends SigningStargateClient {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
return errorMessage || DEFAULT_WRITE_ERROR;
|
||||
return `${errorMessage || DEFAULT_WRITE_ERROR}: ${error}`;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user