Skip to content

Commit

Permalink
improve err
Browse files Browse the repository at this point in the history
  • Loading branch information
juan518munoz committed Oct 22, 2024
1 parent 924f788 commit cdec06c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/node/eigenda_proxy/src/eigenda_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl EigenDAClient {
let disperser = Arc::new(Mutex::new(
DisperserClient::connect(inner)
.await
.map_err(|_| EigenDAError::ConnectionError)?,
.map_err(|err| EigenDAError::ConnectionError(err))?,
));

Ok(Self { disperser, config })
Expand Down
2 changes: 1 addition & 1 deletion core/node/eigenda_proxy/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub enum MemStoreError {
pub enum EigenDAError {
TlsError,
UriError,
ConnectionError,
ConnectionError(tonic::transport::Error),
PutError,
GetError,
}
Expand Down

0 comments on commit cdec06c

Please sign in to comment.