fix add tokens_subscribe

This commit is contained in:
William
2025-01-07 13:18:31 +08:00
parent 025978de13
commit 7882db4b12
2 changed files with 102 additions and 5 deletions
+3 -3
View File
@@ -50,7 +50,7 @@ pub enum ClientError {
ExternalService(String),
Redis(String),
Redis(String, String),
Solana(String, String),
@@ -98,7 +98,7 @@ impl std::fmt::Display for ClientError {
Self::Solana(msg, details) => write!(f, "Solana error: {}, details: {}", msg, details),
Self::Parse(msg, details) => write!(f, "Parse error: {}, details: {}", msg, details),
Self::Jito(msg, details) => write!(f, "Jito error: {}, details: {}", msg, details),
Self::Redis(msg) => write!(f, "Redis error: {}", msg),
Self::Redis(msg, details) => write!(f, "Redis error: {}, details: {}", msg, details),
Self::Join(msg) => write!(f, "Task join error: {}", msg),
Self::Subscribe(msg, details) => write!(f, "Subscribe error: {}, details: {}", msg, details),
Self::Send(msg, details) => write!(f, "Send error: {}, details: {}", msg, details),
@@ -121,7 +121,7 @@ impl std::error::Error for ClientError {
Self::UploadMetadataError(err) => Some(err.as_ref()),
Self::AnchorClientError(err) => Some(err),
Self::ExternalService(_) => None,
Self::Redis(_) => None,
Self::Redis(_, _) => None,
Self::Solana(_, _) => None,
Self::Parse(_, _) => None,
Self::Jito(_, _) => None,