Add back empty handle string
This commit is contained in:
parent
1dbaec0edd
commit
8155da152f
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ namespace mate {
|
|||
namespace {
|
||||
|
||||
std::string V8TypeAsString(v8::Isolate* isolate, v8::Local<v8::Value> value) {
|
||||
if (value.IsEmpty())
|
||||
return "<empty handle>";
|
||||
v8::MaybeLocal<v8::String> details = value->ToDetailString(isolate);
|
||||
std::string result;
|
||||
if (!details.IsEmpty())
|
||||
|
|
Loading…
Reference in a new issue