diff options
author | Josh Matthews <josh@joshmatthews.net> | 2020-04-24 10:06:30 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2020-04-24 14:47:21 -0400 |
commit | 2a0700e78b7c5cdf741c12cde6dd964850baa655 (patch) | |
tree | 339e0265b23819a54d1adceffe4c48a4bfeae2a3 /components/script/dom/xrsystem.rs | |
parent | 0540c4a284952145773e3c86d0f57f69a83283f1 (diff) | |
download | servo-2a0700e78b7c5cdf741c12cde6dd964850baa655.tar.gz servo-2a0700e78b7c5cdf741c12cde6dd964850baa655.zip |
Report openxr failure at app startup.
Diffstat (limited to 'components/script/dom/xrsystem.rs')
-rw-r--r-- | components/script/dom/xrsystem.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/xrsystem.rs b/components/script/dom/xrsystem.rs index 0fc4ab108e2..a2ba7946e62 100644 --- a/components/script/dom/xrsystem.rs +++ b/components/script/dom/xrsystem.rs @@ -267,7 +267,8 @@ impl XRSystem { ) { let session = match response { Ok(session) => session, - Err(_) => { + Err(e) => { + warn!("Error requesting XR session: {:?}", e); if mode != XRSessionMode::Inline { self.pending_immersive_session.set(false); } |