diff options
-rw-r--r-- | tensorflow/core/framework/resource_mgr.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/core/framework/resource_mgr.cc b/tensorflow/core/framework/resource_mgr.cc index f79eca5401..78574bc0b1 100644 --- a/tensorflow/core/framework/resource_mgr.cc +++ b/tensorflow/core/framework/resource_mgr.cc @@ -160,7 +160,9 @@ Status ResourceMgr::DoLookup(const string& container, TypeIndex type, tf_shared_lock l(mu_); const Container* b = gtl::FindPtrOrNull(containers_, container); if (b == nullptr) { - return errors::NotFound("Container ", container, " does not exist."); + return errors::NotFound("Container ", container, + " does not exist. (Could not find resource: ", + container, "/", name, ")"); } auto r = gtl::FindPtrOrNull(*b, {type.hash_code(), name}); if (r == nullptr) { |