File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ public Inference GetInference()
436436 if ( status != RhinoStatus . SUCCESS )
437437 {
438438 string [ ] messageStack = GetMessageStack ( ) ;
439- throw RhinoStatusToException ( status , "Failed to reset" ) ;
439+ throw RhinoStatusToException ( status , "Failed to reset" , messageStack ) ;
440440 }
441441
442442 return new Inference ( isUnderstood , intent , slots ) ;
@@ -480,10 +480,9 @@ public static string[] GetAvailableDevices()
480480 out numDevices ) ;
481481 if ( status != RhinoStatus . SUCCESS )
482482 {
483- throw PvStatusToException (
483+ throw RhinoStatusToException (
484484 status ,
485- "Get available devices failed" ,
486- GetMessageStack ( ) ) ;
485+ "Get available devices failed" ) ;
487486 }
488487
489488 string [ ] devices = new string [ numDevices ] ;
You can’t perform that action at this time.
0 commit comments