chore(display): better error messages

This commit is contained in:
Michael Aaron Murphy 2025-03-08 05:03:03 +01:00
parent 92085b60ab
commit 4e08ccf384
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -490,7 +490,7 @@ impl Page {
match message {
Message::RandrResult(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)) => {
tracing::error!(?why, "error fetching displays");
tracing::error!(why = why.to_string(), "error fetching displays");
}
None => (),