Commit 9a6c3f3e authored by shssf's avatar shssf Committed by Robert Kimball

Small error reporting improvement (#1540)

parent b9cbd039
...@@ -91,7 +91,7 @@ shared_ptr<runtime::Backend> runtime::BackendManager::create_backend(const std:: ...@@ -91,7 +91,7 @@ shared_ptr<runtime::Backend> runtime::BackendManager::create_backend(const std::
if (!handle) if (!handle)
{ {
stringstream ss; stringstream ss;
ss << "Backend '" << type << "' not registered"; ss << "Backend '" << type << "' not registered. Error:" << dlerror();
throw runtime_error(ss.str()); throw runtime_error(ss.str());
} }
function<const char*()> get_ngraph_version_string = function<const char*()> get_ngraph_version_string =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment