No, .ToLocalChecked() is called by my code, not from V8. I would like to know if the APIs under v8::Private namespace has been battle tested.
On Wednesday, 12 July 2017 14:53:57 UTC+5:30, Ben Noordhuis wrote: > > On Wed, Jul 12, 2017 at 11:15 AM, Gautham B A > <[email protected] <javascript:>> wrote: > > I've observed that the exception thrown is - > > # > > # Fatal error in v8::ToLocalChecked > > # Empty MaybeLocal. > > # > > > > Is it possible to catch that exception to prevent v8 process from > crashing? > > Don't call .ToLocalChecked() if .IsEmpty() is true (or use .ToLocal() > or .FromMaybe().) > > Or do you mean that the .ToLocalChecked() call comes from inside V8 > itself? If so, what is the stack trace? -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
