We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4898009 commit c88ec93Copy full SHA for c88ec93
crates/batcher/src/types/errors.rs
@@ -50,7 +50,7 @@ impl From<Bytes> for TransactionSendError {
50
51
pub enum BatcherError {
52
TcpListenerError(String),
53
- ConnectionError(tungstenite::Error),
+ ConnectionError(String),
54
BatchVerifiedEventStreamError(String),
55
EthereumSubscriptionError(String),
56
SignatureError(SignatureError),
@@ -72,7 +72,7 @@ pub enum BatcherError {
72
73
impl From<tungstenite::Error> for BatcherError {
74
fn from(e: tungstenite::Error) -> Self {
75
- BatcherError::ConnectionError(e)
+ BatcherError::ConnectionError(e.to_string())
76
}
77
78
0 commit comments