diff --git a/packages/react-native-executorch/common/rnexecutorch/models/ocr/Recognizer.cpp b/packages/react-native-executorch/common/rnexecutorch/models/ocr/Recognizer.cpp index 237c5154e..6040408db 100644 --- a/packages/react-native-executorch/common/rnexecutorch/models/ocr/Recognizer.cpp +++ b/packages/react-native-executorch/common/rnexecutorch/models/ocr/Recognizer.cpp @@ -32,7 +32,7 @@ Recognizer::generate(const cv::Mat &grayImage, int32_t inputWidth) { auto shapes = getAllInputShapes(method_name); if (shapes.empty()) { throw std::runtime_error("Recognizer model: Input shapes for " + - method_name " not found"); + method_name + " not found"); } std::vector tensorDims = shapes[0]; TensorPtr inputTensor =