DescriptionIncrease the chance of printing a useful error when bootstrapping fails
Two changes:
- In ReportBootstrappingException, if all we have is a string, it seems
better to print that than nothing.
- In Factory::NewError, there's no use trying to call into the builtins if
compilation of the builtins is causing the exception (this currently
results in a cryptic segfault if we trigger, say, a ReferenceError when
executing builtins script during bootstrapping).
Committed: https://crrev.com/0be9c69e6ce765a3ed2c2a385b807b5b5e4221dd
Cr-Commit-Position: refs/heads/master@{#28912}
Patch Set 1 #Patch Set 2 : Fix type handling in PendingCompilationErrorHandler #
Messages
Total messages: 7 (2 generated)
|