Skip to content

Commit

Permalink
fixed wrong error
Browse files Browse the repository at this point in the history
  • Loading branch information
joernheinemann committed Jun 26, 2024
1 parent 8f5d80b commit 5985e37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crypto/src/util/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ macro_rules! traverse_keys {
match $method::<$first>($($arg),*) {
Ok(val) => Ok(val),
Err(err) => match err {
$crate::SdkError::Util($crate::sdk_utils::error::SdkUtilError::AlgNotFound) | $crate::SdkError::AlgNotFound => traverse_keys!($method, ($($arg),*), [$($rest),*]),
$crate::SdkError::Util($crate::sdk_utils::error::SdkUtilError::Base($crate::sdk_core::Error::AlgNotFound)) |
$crate::SdkError::Util($crate::sdk_utils::error::SdkUtilError::AlgNotFound) |
$crate::SdkError::AlgNotFound => traverse_keys!($method, ($($arg),*), [$($rest),*]),
_ => Err(err),
}
}
Expand Down

0 comments on commit 5985e37

Please sign in to comment.