Skip to content

Commit 8887ff1

Browse files
committed
better message
1 parent 683976e commit 8887ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cryptoki/src/session/session_management.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl Drop for Session {
2929
if let Err(err) = close(self) {
3030
match err {
3131
Error::Pkcs11(RvError::SessionHandleInvalid, _) => {
32-
warn!("Failed to close session: Session handle invalid - it may have already been closed.");
32+
warn!("Failed to close session: The specified session handle is invalid, the session must be already closed.");
3333
}
3434
_ => error!("Failed to close session: {err}"),
3535
}

0 commit comments

Comments
 (0)