Crashlytics recording error
I am logging a bug using Crashlytics for iOS.
NSDictionary *detail = @{@"message":errorWithURL, @"response":jsonString};
[[Crashlytics sharedInstance] recordError:[NSError errorWithDomain:@"send request" code:0 userInfo:detail]];
But I don't see the message in the Crashlytics console.
See here .
Am I doing something wrong here?
+3
source to share
1 answer
From Fabric Docs - "The data contained in the userInfo object is converted to key-value pairs and appears in the keys / logs section in a separate issue."
So click the View All Sessions button in the upper right corner, then go to the Keys / Logs section at the top of the page
https://docs.fabric.io/apple/crashlytics/logged-errors.html#using-the-api
+4
source to share