Commit 237a1655 237a1655097d2eacace269342e3269e14964b849 by Nicolas Perriault

removed attempt to catch Error caller, that was silly

1 parent f40e837f
...@@ -207,8 +207,7 @@ if (!phantom.casperLoaded) { ...@@ -207,8 +207,7 @@ if (!phantom.casperLoaded) {
207 } else { 207 } else {
208 location = "unknown"; 208 location = "unknown";
209 } 209 }
210 var from = this.caller || "anonymous"; 210 return this.toString() + '\n at ' + location;
211 return this.toString() + '\n ' + from + ' at ' + location;
212 }, 211 },
213 configurable: true, 212 configurable: true,
214 enumerable: true 213 enumerable: true
......