diff --git a/src/terminal.rs b/src/terminal.rs index a01e0dbb..1067c232 100644 --- a/src/terminal.rs +++ b/src/terminal.rs @@ -48,8 +48,8 @@ where fn drop(&mut self) { // Attempt to restore the cursor state if self.hidden_cursor { - if let Err(_) = self.show_cursor() { - error!("Failed to show the cursor"); + if let Err(err) = self.show_cursor() { + error!("Failed to show the cursor: {}", err); } } }