Skip to content

Commit

Permalink
Use correct error type
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Aug 19, 2024
1 parent f5d9ec1 commit 52101de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmtp_mls/src/storage/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl RetryableError for openmls::group::CreateCommitError<sql_key_store::SqlKeyS
impl RetryableError for openmls::treesync::LeafNodeUpdateError<sql_key_store::SqlKeyStoreError> {
fn is_retryable(&self) -> bool {
match self {
Self::StorageError(storage) => retryable!(storage),
Self::Storage(storage) => retryable!(storage),
_ => false,
}
}
Expand Down

0 comments on commit 52101de

Please sign in to comment.