Skip to content

src,inspector: fix empty MaybeLocal crash

Return early when the Inspector StringView to V8 String conversion fails and returns an empty MaybeLocal instead of running the invalid ToLocalChecked() assertion.

Fixes: https://github.com/nodejs/node/issues/42407 Signed-off-by: Darshan Sen raisinten@gmail.com

Merge request reports

Loading