Error handling logic was flawed in StatementExecutionHelper methods.
When IsNothing() is true or ToLocal() fails, return an empty MaybeLocal rather than creating an object or returning undefined.
Also, avoid use of ToLocalChecked
/cc @0hmX ... just fyi
Originally posted by @Pumpman828 nodejs/node#60040