-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Remove PrettyJsError and js_error_create_fn #14378
refactor: Remove PrettyJsError and js_error_create_fn #14378
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a lot going on in this PR @nayeemrmn, would it be possible to split it into two separate PRs? One for changes to core/
and the other one that updates workers and compile subcommand
I can split it it into one for removing |
That sounds good 👍 |
e435052
to
ed16af4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great refactor @nayeemrmn
This commit: - removes "fmt_errors::PrettyJsError" in favor of "format_js_error" fn - removes "deno_core::JsError::create" and "deno_core::RuntimeOptions::js_error_create_fn" - adds new option to "deno_runtime::ops::worker_host::init"
Blocked on #14394.
Fixes #14377. Also adds pretty-printed errors and source mapping for
deno compile
d executables.