lldb-59.

llvm-svn: 132304
diff --git a/lldb/source/Core/ValueObjectDynamicValue.cpp b/lldb/source/Core/ValueObjectDynamicValue.cpp
index ee50d45..a8d4889 100644
--- a/lldb/source/Core/ValueObjectDynamicValue.cpp
+++ b/lldb/source/Core/ValueObjectDynamicValue.cpp
@@ -120,6 +120,9 @@
 
     if (!m_parent->UpdateValueIfNeeded())
     {
+        // The dynamic value failed to get an error, pass the error along
+        if (m_error.Success() && m_parent->GetError().Fail())
+            m_error = m_parent->GetError();
         return false;
     }