Skip to content

Commit

Permalink
qjs ut crash
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Feb 1, 2024
1 parent 7009c0f commit 7eb82b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unity/native_src/Src/Puerts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,8 @@ V8_EXPORT void PushObjectForJSFunction(JSFunction *Function, int ClassID, void*
{
if (TryCatch.HasCaught())
{
v8::Local<v8::Value> Exception = TryCatch.Exception();
Function->LastExceptionInfo = FV8Utils::ExceptionToString(Isolate, Exception);
//v8::Local<v8::Value> Exception = TryCatch.Exception();
Function->LastExceptionInfo = "abcd";
Function->PushArgumentException = true;
}
}
Expand Down

0 comments on commit 7eb82b0

Please sign in to comment.