summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/src/Ice/Exception.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/js/src/Ice/Exception.js b/js/src/Ice/Exception.js
index cf33593110f..cf6732ba965 100644
--- a/js/src/Ice/Exception.js
+++ b/js/src/Ice/Exception.js
@@ -51,17 +51,12 @@ var Exception = Class(Error, {
Exception.captureStackTrace = function(object)
{
var stack = new Error().stack;
-
- var formattedStack;
-
//
// In IE 10 and greater the stack will be filled once the Error is throw
// we don't need to do anything.
//
if(stack !== undefined)
{
-
- var name = object.ice_name ? object.ice_name().replace(/::/g, ".") : "";
Object.defineProperty(object, "stack", {
get: function(){
return stack;