mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
Add error reason to X11 connection error
refs: https://github.com/wez/wezterm/issues/249
This commit is contained in:
parent
96cdadca48
commit
ea7d28e2f3
@ -261,7 +261,7 @@ impl XConnection {
|
||||
None => match self.conn.has_error() {
|
||||
Ok(_) => (),
|
||||
Err(err) => {
|
||||
bail!("X11 connection is broken: {:?}", err);
|
||||
bail!("X11 connection is broken: {:?} {}", err, err.to_string());
|
||||
}
|
||||
},
|
||||
Some(event) => {
|
||||
|
Loading…
Reference in New Issue
Block a user