Skip to content

repl: add fallback error detection after processTopLevelAwait error

Fixes #32708 (closed)

This PR adds a fallback error detection if SyntaxError was thrown, as it could be related to incomplete user input (due to splitting the code into multiple lines), that leads to premature evaluation and subsequently an error.

Merge request reports

Loading