diff options
author | Deepanshu Utkarsh <duci9y@users.noreply.github.com> | 2020-12-29 09:24:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 15:24:19 +0100 |
commit | 115de4c81ae6e009c66ac36748fa55f8d3b27b0f (patch) | |
tree | a8da700a6fe2285bcfc357789970904903d4abad /core/error.rs | |
parent | 24844a00527f58466b0b057da70b61f8278b84f5 (diff) |
fix(core): Fix incorrect index in Promise.all error reporting (#8913)
Diffstat (limited to 'core/error.rs')
-rw-r--r-- | core/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/error.rs b/core/error.rs index 8e4138889..fafa133b0 100644 --- a/core/error.rs +++ b/core/error.rs @@ -293,7 +293,7 @@ impl JsError { .unwrap(); let is_promise_all = is_promise_all.is_true(); let promise_index: Option<v8::Local<v8::Integer>> = - get_property(scope, call_site, "columnNumber") + get_property(scope, call_site, "promiseIndex") .unwrap() .try_into() .ok(); |