chore(display): better error messages
This commit is contained in:
parent
92085b60ab
commit
4e08ccf384
1 changed files with 2 additions and 2 deletions
|
|
@ -490,7 +490,7 @@ impl Page {
|
||||||
match message {
|
match message {
|
||||||
Message::RandrResult(result) => {
|
Message::RandrResult(result) => {
|
||||||
if let Some(Err(why)) = Arc::into_inner(result) {
|
if let Some(Err(why)) = Arc::into_inner(result) {
|
||||||
tracing::error!(?why, "cosmic-randr error");
|
tracing::error!(why = why.to_string(), "cosmic-randr error");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -608,7 +608,7 @@ impl Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
Some(Err(why)) => {
|
Some(Err(why)) => {
|
||||||
tracing::error!(?why, "error fetching displays");
|
tracing::error!(why = why.to_string(), "error fetching displays");
|
||||||
}
|
}
|
||||||
|
|
||||||
None => (),
|
None => (),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue