We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 737fe5a commit 60ca012Copy full SHA for 60ca012
batcher/aligned-sdk/src/sdk.rs
@@ -568,8 +568,8 @@ pub async fn get_nonce_from_batcher(
568
batcher_ws_url: &str,
569
address: Address,
570
) -> Result<U256, GetNonceError> {
571
- let (ws_stream, _) = connect_async(batcher_ws_url).await.map_err(|_| {
572
- GetNonceError::ConnectionFailed("Ws connection to batcher failed".to_string())
+ let (ws_stream, _) = connect_async(batcher_ws_url).await.map_err(|e| {
+ GetNonceError::ConnectionFailed(e.to_string())
573
})?;
574
575
debug!("WebSocket handshake has been successfully completed");
0 commit comments