Add context to error message #11

Merged
nabarun merged 2 commits from nv-handle-error into main 2024-04-08 04:04:15 +00:00
Showing only changes of commit 5bcaf89f3e - Show all commits

View File

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