diff options
Diffstat (limited to 'src/event_loop.rs')
-rw-r--r-- | src/event_loop.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/event_loop.rs b/src/event_loop.rs index 20ce3ae6..748e2bde 100644 --- a/src/event_loop.rs +++ b/src/event_loop.rs @@ -385,10 +385,10 @@ impl<T> EventLoop<T> if let Err(err) = self.pty_read(&mut state, &mut buf, pipe.as_mut()) { error!( - "Event loop exitting due to error: {} [{}:{}]", - err, + "[{}:{}] Event loop exiting due to error: {}", file!(), - line!() + line!(), + err ); break 'event_loop; } @@ -401,10 +401,10 @@ impl<T> EventLoop<T> if event.readiness().is_writable() { if let Err(err) = self.pty_write(&mut state) { error!( - "Event loop exitting due to error: {} [{}:{}]", - err, + "[{}:{}] Event loop exiting due to error: {}", file!(), - line!() + line!(), + err ); break 'event_loop; } |