removed attempt to catch Error caller, that was silly
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment