Add context to error message

This commit is contained in:
neeraj 2024-04-03 14:34:42 +05:30
parent ad07856267
commit 5bcaf89f3e

View File

@ -383,6 +383,6 @@ export class LaconicClient extends SigningStargateClient {
console.error(error); console.error(error);
} }
return errorMessage || DEFAULT_WRITE_ERROR; return `${errorMessage || DEFAULT_WRITE_ERROR}: ${error}`;
} }
} }