Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index fc8d34db911cbee2cf19c8be158aef2263d53aaf..0f1f7028a042c60a564a9e732f6d8d19c9c66205 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1057,7 +1057,7 @@ void Isolate::DoThrow(Object* exception, MessageLocation* location) { |
// probably not a valid Error object. In that case, we fall through |
// and capture the stack trace at this throw site. |
LookupIterator lookup(exception_handle, key, |
- LookupIterator::CHECK_PROPERTY); |
+ LookupIterator::OWN_PROPERTY); |
Handle<Object> stack_trace_property; |
if (Object::GetProperty(&lookup).ToHandle(&stack_trace_property) && |
stack_trace_property->IsJSArray()) { |