We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a679943 commit 69aaf03Copy full SHA for 69aaf03
js/react_native/ios/OnnxruntimeModule.mm
@@ -41,7 +41,7 @@ @implementation OnnxruntimeModule
41
@try {
42
NSDictionary *resultMap = [self loadModel:modelPath options:options];
43
resolve(resultMap);
44
- } @catch (NSException *exception) {
+ } @catch (...) {
45
reject(@"onnxruntime", @"can't load model", nil);
46
}
47
@@ -66,7 +66,7 @@ @implementation OnnxruntimeModule
66
67
NSDictionary *resultMap = [self run:url input:input output:output options:options];
68
69
70
reject(@"onnxruntime", @"can't run model", nil);
71
72
0 commit comments