From 115de4c81ae6e009c66ac36748fa55f8d3b27b0f Mon Sep 17 00:00:00 2001 From: Deepanshu Utkarsh Date: Tue, 29 Dec 2020 09:24:19 -0500 Subject: fix(core): Fix incorrect index in Promise.all error reporting (#8913) --- core/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/error.rs') 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> = - get_property(scope, call_site, "columnNumber") + get_property(scope, call_site, "promiseIndex") .unwrap() .try_into() .ok(); -- cgit v1.2.3