fix fatal logs again

This commit is contained in:
galister
2024-02-21 00:34:48 +01:00
parent 2d264e3c15
commit e8f44bd4b0

View File

@@ -27,13 +27,13 @@ pub enum BackendError {
#[error("backend not supported")] #[error("backend not supported")]
NotSupported, NotSupported,
#[cfg(feature = "openxr")] #[cfg(feature = "openxr")]
#[error("OpenXR Error: {0}")] #[error("OpenXR Error: {0:?}")]
OpenXrError(#[from] xr::sys::Result), OpenXrError(#[from] xr::sys::Result),
#[error("Shutdown")] #[error("Shutdown")]
Shutdown, Shutdown,
#[error("Restart")] #[error("Restart")]
Restart, Restart,
#[error("Fatal: {0}")] #[error("Fatal: {0:?}")]
Fatal(#[from] anyhow::Error), Fatal(#[from] anyhow::Error),
} }