Skip to content

Commit e6cb4dd

Browse files
MayureshV1Copilot
andauthored
Update onnxruntime/core/providers/openvino/exceptions.h
Co-authored-by: Copilot <[email protected]>
1 parent eb4d970 commit e6cb4dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

onnxruntime/core/providers/openvino/exceptions.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ struct ovep_exception : public std::exception {
4848
return {category_ort, common::INVALID_GRAPH, message};
4949
}
5050

51-
return Status::OK();
51+
std::string error_message = "Unhandled exception type: " + std::to_string(static_cast<int>(type_));
52+
return {category_ort, common::FAIL, error_message};
5253
}
5354

5455
protected:

0 commit comments

Comments
 (0)