Index: src/json-stringifier.h |
diff --git a/src/json-stringifier.h b/src/json-stringifier.h |
index 4510c4b45b65b9b8c18079a46e901d69eb4a355f..1966ab8e5cc08fbfe16439064a737b6abd83d910 100644 |
--- a/src/json-stringifier.h |
+++ b/src/json-stringifier.h |
@@ -687,7 +687,7 @@ BasicJsonStringifier::Result BasicJsonStringifier::SerializeJSObject( |
property = GetProperty(isolate_, object, key_handle); |
} |
} |
- if (property.is_null()) return EXCEPTION; |
+ RETURN_IF_EMPTY_HANDLE_VALUE(isolate_, property, EXCEPTION); |
Result result = SerializeProperty(property, comma, key_handle); |
if (!comma && result == SUCCESS) comma = true; |
if (result >= EXCEPTION) return result; |