Script Error for no "stack" property in "Error" Object

Mahesh

Posted on
Sep 11 2014

Hello Team,

I was trying to send Error to Raygun using different iPads using the same resource and what I noticed iPad 1 was publishing error in correct format but from iPad 2 the error said "Script Error" in raygun dashboard.

After debug, I see that Raygun.send() expects "stack" property in "Error" object , else it gets into script error.

In my case iPad 2 is in iOS 7.x.x , where I don't get the stack property from the app web view , however iOS 8 has the stack property.

Note: from safari, it works fine and the problem is experienced in iOS 7 web view only.

Please let me know if there is any alternative for this.


Callum

Posted on
Sep 15 2014

Hi Mahesh,

Thanks for reporting this one, we are looking at putting a guard into Raygun4JS to prevent the error in this case and should be present in the next release of the provider. I will let you know when this is available.

Regards,

Callum Gavin
Mindscape Limited


Mahesh

Posted on
Sep 16 2014

Thanks Cullum.

regards Mahesh


Reply