diff --git a/src/event_loop.rs b/src/event_loop.rs index ce034ff0..18d48a52 100644 --- a/src/event_loop.rs +++ b/src/event_loop.rs @@ -396,7 +396,7 @@ impl EventLoop if ready.is_readable() { if let Err(err) = self.pty_read(&mut state, &mut buf, pipe.as_mut()) { - error!("Event loop exitting due to error: {} [{}:{}]", + error!("Event loop exiting due to error: {} [{}:{}]", err, file!(), line!()); break 'event_loop; } @@ -408,7 +408,7 @@ impl EventLoop if ready.is_writable() { if let Err(err) = self.pty_write(&mut state) { - error!("Event loop exitting due to error: {} [{}:{}]", + error!("Event loop exiting due to error: {} [{}:{}]", err, file!(), line!()); break 'event_loop; }