From 9fa33d8a9f60645efb0f7933c52617220c201143 Mon Sep 17 00:00:00 2001 From: Benjamin Gruenbaum Date: Mon, 6 Jun 2016 01:33:39 +0300 Subject: [PATCH] fix old IE issue I created in #166 I caused a compatibility issue in https://github.com/stacktracejs/stacktrace.js/pull/166 since reserved keywords can't be property names in ES3. This fixes it. --- stacktrace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacktrace.js b/stacktrace.js index e2bc945..fc20df5 100644 --- a/stacktrace.js +++ b/stacktrace.js @@ -86,7 +86,7 @@ } return Promise.all(stackframes.map(function(sf) { return gps.pinpoint(sf); - }).catch(function(error) { + })["catch"](function(error) { return sf; })); },