Add error reason to X11 connection error
refs: https://github.com/wez/wezterm/issues/249
This commit is contained in:
1 parent
96cdadca48
commit
ea7d28e2f3
1 file changed
+1
-1
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user