@@ -284,11 +284,9 @@ template <typename Model> class ModelHostObject : public JsiHostObject {
284284 return jsi_conversion::getJsiValue (std::move (result), runtime);
285285 }
286286 } catch (const RnExecutorchError &e) {
287- rnexecutorch::log (rnexecutorch::LOG_LEVEL ::Info, " kappa" , e.what ());
288287 throw jsi::JSError (runtime, makeRnExecutorchErrorValue (
289288 runtime, e.getNumericCode (), e.what ()));
290289 } catch (const std::exception &e) {
291- rnexecutorch::log (rnexecutorch::LOG_LEVEL ::Info, " kappa" , e.what ());
292290 throw jsi::JSError (runtime, e.what ());
293291 } catch (...) {
294292 throw jsi::JSError (runtime, " Unknown error in synchronous function" );
@@ -353,11 +351,9 @@ template <typename Model> class ModelHostObject : public JsiHostObject {
353351 return jsi_conversion::getJsiValue (std::move (result), runtime);
354352 }
355353 } catch (const RnExecutorchError &e) {
356- rnexecutorch::log (rnexecutorch::LOG_LEVEL ::Info, " kappa" , e.what ());
357354 throw jsi::JSError (runtime, makeRnExecutorchErrorValue (
358355 runtime, e.getNumericCode (), e.what ()));
359356 } catch (const std::exception &e) {
360- rnexecutorch::log (rnexecutorch::LOG_LEVEL ::Info, " kappa" , e.what ());
361357 throw jsi::JSError (runtime, e.what ());
362358 } catch (...) {
363359 throw jsi::JSError (runtime, " Unknown error in vision function" );
@@ -418,8 +414,6 @@ template <typename Model> class ModelHostObject : public JsiHostObject {
418414 });
419415 }
420416 } catch (const RnExecutorchError &e) {
421- rnexecutorch::log (rnexecutorch::LOG_LEVEL ::Info, " kappa" ,
422- e.what ());
423417 auto code = e.getNumericCode ();
424418 auto msg = std::string (e.what ());
425419 callInvoker->invokeAsync (
@@ -429,8 +423,6 @@ template <typename Model> class ModelHostObject : public JsiHostObject {
429423 });
430424 return ;
431425 } catch (const std::exception &e) {
432- rnexecutorch::log (rnexecutorch::LOG_LEVEL ::Info, " kappa" ,
433- e.what ());
434426 callInvoker->invokeAsync ([e = std::move (e), promise]() {
435427 promise->reject (std::string (e.what ()));
436428 });
0 commit comments