Raygun Feature Request

Feature Request

iOS - Ability to send a manual exception programmatically

Current Status:

Completed


Avatar

DH

I would like to see the ability send to a manual exception like the Android library provides.


Avatar

DH

Posted on
Jan 10 2014

I see this is planned but what is the timeline?

Avatar

martin308

Posted on
Jan 10 2014

Interested in what your use case is for this? Currently it would not be possible to gather the same level of information for an instance of NSException which has been caught by yourself.

Would you see it more as a log style message?

Also there are some dangers to be aware of when using NSExceptions in your iOS application, there is a good article on it here http://orangejuiceliberationfront.com/why-cocoa-programmers-cant-have-nice-things/

Avatar

DH

Posted on
Jan 10 2014

Reason being is i am using Appcelerator and I want to trap js script errors to better understand crashes and bugs.

Is there any work being done to build these as Appcelerator modules?

Avatar

martin308

Posted on
Jan 10 2014

I would suggest using the Raygun4JS provider if your errors are occurring within a WebView in your Appcelerator application. If the errors are occurring outside of this I am unsure of the compatibility of the current JavaScript providers. We would need to look to see if they can run or be adapted to run in an Appcelerator application outside of a WebView

Avatar

Raygun

Jason Fauchelle

Posted on
Jul 25 2014

The latest version of the native iOS Raygun provider now has a Send method for manually sending NSException objects. You can grab the latest version from here: https://raygun.io/raygun-providers/ios

-Jason Fauchelle