swift - How to change the format in which google analytics reports exceptions in iOS? -
i'm integrating google analytics ios application , want google analytics track uncaught exceptions. this, use line:
gai.sharedinstance().trackuncaughtexceptions = true
when using automatic exception measurement, official documentations says:
by default, description field automatically set using exception type, class name, method name , thread name.
my question is: there way changing behavior. mean, how can set custom value description field?
gai intercepting un-handled exception , processing exception raise fatal exception ga hit. if wanted override this, wouldn't able use automatic tracking, instead you'd have capture , parse exception yourself, , manually raise event.
here's blog post showing how might handle exception: http://www.cocoawithlove.com/2010/05/handling-unhandled-exceptions-and.html
Comments
Post a Comment