fix fatal logs
This commit is contained in:
@@ -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")]
|
#[error("Fatal: {0}")]
|
||||||
Fatal(#[from] anyhow::Error),
|
Fatal(#[from] anyhow::Error),
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -70,7 +70,6 @@ where
|
|||||||
if show_screens.is_empty() {
|
if show_screens.is_empty() {
|
||||||
screens.first().map(|s| {
|
screens.first().map(|s| {
|
||||||
show_screens.push(s.state.name.clone());
|
show_screens.push(s.state.name.clone());
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user