Skip to content

Commit

Permalink
Fix 1.76.0 lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
ISibboI committed Feb 19, 2024
1 parent f92928c commit 8739e33
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions backend/rvoc-backend/src/web/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,15 @@ impl SessionStoreConnector<RVocSessionData> for RVocSessionStoreConnector {
Err(typed_session::Error::UpdatedSessionDoesNotExist)
}
Err(TryInsertSessionError::PermanentTransactionError(error)) => {
Err(RVocError::UpdateSession { source: error })
.map_err(typed_session::Error::SessionStoreConnector)
Err(typed_session::Error::SessionStoreConnector(
RVocError::UpdateSession { source: error },
))
}
Err(error @ TryInsertSessionError::TooManyTemporaryTransactionErrors { .. }) => {
Err(RVocError::UpdateSession {
Err(error @ TryInsertSessionError::TooManyTemporaryTransactionErrors { .. }) => Err(
typed_session::Error::SessionStoreConnector(RVocError::UpdateSession {
source: Box::new(error),
})
.map_err(typed_session::Error::SessionStoreConnector)
}
}),
),
}
}

Expand Down

0 comments on commit 8739e33

Please sign in to comment.