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 1a8dc29 commit 9bd68cbCopy full SHA for 9bd68cb
cryptoki/src/session/session_management.rs
@@ -28,11 +28,9 @@ impl Drop for Session {
28
29
if let Err(err) = close(self) {
30
match err {
31
- Error::Pkcs11(RvError::SessionHandleInvalid, _) =>
32
-
33
34
35
- warn!("Failed to close session: Session handle invalid - it may have already been closed."),
+ Error::Pkcs11(RvError::SessionHandleInvalid, _) => {
+ warn!("Failed to close session: Session handle invalid - it may have already been closed.");
+ }
36
_ => error!("Failed to close session: {err}"),
37
}
38
0 commit comments