Skip to content

Commit ff22b98

Browse files
committed
output_configuration: Better log errors
1 parent 7f69244 commit ff22b98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wayland/handlers/output_configuration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ impl State {
143143
&self.common.clock,
144144
);
145145
if let Err(err) = res {
146-
warn!(?err, "Failed to apply config. Resetting");
146+
warn!("Failed to apply config. Resetting: {:?}", err);
147147
for (output, backup) in backups {
148148
{
149149
let mut current_config = output
@@ -164,7 +164,7 @@ impl State {
164164
self.common.startup_done.clone(),
165165
&self.common.clock,
166166
) {
167-
error!(?err, "Failed to reset output config.");
167+
error!("Failed to reset output config: {:?}", err);
168168
}
169169
}
170170
return false;

0 commit comments

Comments
 (0)