mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-14 14:51:42 +00:00
rethrow exceptions during openxr initialization.
This commit is contained in:
parent
5148f4ecb0
commit
ddc30fe6f4
1 changed files with 3 additions and 3 deletions
|
@ -81,9 +81,9 @@ namespace MWVR
|
|||
}
|
||||
catch (std::exception& e)
|
||||
{
|
||||
Log(Debug::Error) << "Exception thrown by OpenXR: " << e.what();
|
||||
osg::ref_ptr<osg::State> state = gc->getState();
|
||||
|
||||
std::string error = std::string("Exception thrown while initializing OpenXR: ") + e.what();
|
||||
Log(Debug::Error) << error;
|
||||
throw std::runtime_error(error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue