Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index 1df1c8c45aa65e376ba29a540b719259503031be..e3d941b0395a94b93988a0e2d3ad69e56ae877e1 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -1189,7 +1189,7 @@ function SetUpError() { |
if (!IS_UNDEFINED(m)) { |
%AddProperty(this, 'message', ToString(m), DONT_ENUM); |
} |
- captureStackTrace(this, f); |
+ try { captureStackTrace(this, f); } catch (e) { } |
} else { |
return new f(m); |
} |