summaryrefslogtreecommitdiff
path: root/engine/src/windowing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/windowing.rs')
-rw-r--r--engine/src/windowing.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/engine/src/windowing.rs b/engine/src/windowing.rs
index adc5132..6997f73 100644
--- a/engine/src/windowing.rs
+++ b/engine/src/windowing.rs
@@ -518,7 +518,7 @@ impl Context
};
})
{
- tracing::error!("Failed to create windowing app thread: {err}");
+ tracing::error!("Failed to create windowing app thread: {:#}", crate::Error::new(err));
return Self {
shared_state,
@@ -569,7 +569,7 @@ impl Context
unreachable!();
};
- tracing::error!("Error in windowing app thread: {err}");
+ tracing::error!("Error in windowing app thread: {:#}", crate::Error::new(err));
} else {
tracing::error!("Windowing app initialization aborted unexpectedly");
}
@@ -728,7 +728,7 @@ impl App
) {
Ok(window) => window,
Err(err) => {
- tracing::error!("Failed to create window: {err}");
+ tracing::error!("Failed to create window: {:#}", crate::Error::new(err));
continue;
}
},
@@ -953,7 +953,8 @@ impl ApplicationHandler for App
cold_path();
tracing::error!(
window_id=?window_id,
- "Failed to lock cursor position: {err}"
+ "Failed to lock cursor position: {:#}",
+ crate::Error::new(err)
);
};
}