Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

fix log

雾聪e5fb0fb7e5ca
diff --git a/runtime/onnxruntime/src/paraformer-torch.cpp b/runtime/onnxruntime/src/paraformer-torch.cpp
index 7cac2918a..ac8231ca2 100644
--- a/runtime/onnxruntime/src/paraformer-torch.cpp
+++ b/runtime/onnxruntime/src/paraformer-torch.cpp
@@ -51,7 +51,7 @@ void ParaformerTorch::InitAsr(const std::string &am_model, const std::string &am
model_ = std::make_shared<TorchModule>(std::move(model));
LOG(INFO) << "Successfully load model from " << am_model;
} catch (std::exception const &e) {
- LOG(ERROR) << "Error when load am model: " << e.what();
+ LOG(ERROR) << "Error when load am model: " << am_model << ", " << e.what();
exit(-1);
}
}