Skip to content

Commit 64bcdad

Browse files
committed
Code review fixes
1 parent bf3e495 commit 64bcdad

File tree

2 files changed

+380
-373
lines changed

2 files changed

+380
-373
lines changed

onnxruntime/core/providers/openvino/backend_manager.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,11 @@ BackendManager::BackendManager(SessionContext& session_context,
166166
} catch (std::string const& msg) {
167167
ORT_THROW(msg);
168168
}
169-
} else {
170-
ORT_RETHROW;
171-
}
169+
} else
172170
#endif
171+
{
172+
throw ex;
173+
}
173174
}
174175
}
175176
if (session_context_.so_context_enable &&

0 commit comments

Comments
 (0)