When exception happens, application prints very generic output like [OptiX]: std::exception. This is due to fact that std::exception is cached by value, not reference.
Catch exceptions by const reference to produce more informative console output. After the fix, application prints [OptiX]: Failed to load OptiX library instead.
When exception happens, application prints very generic output like
[OptiX]: std::exception
. This is due to fact that std::exception is cached by value, not reference.Catch exceptions by const reference to produce more informative console output. After the fix, application prints
[OptiX]: Failed to load OptiX library
instead.