Crashlytics record error
Asked Answered
A

2

7

I am recording an error using Crashlytics for iOS.

NSDictionary *detail = @{@"message":errorWithURL, @"response":jsonString};
[[Crashlytics sharedInstance] recordError:[NSError errorWithDomain:@"send request" code:0 userInfo:detail]];

But I do not see the message in Crashlytics console.

See here.

Am I doing something wrong here?

Ashjian answered 13/7, 2017 at 12:50 Comment(0)
N
8

From Fabric Docs - "Data contained within the userInfo object are converted to key-value pairs and displayed in the keys/logs section within an individual issue."

So press "View all sessions" button upper right corner, then go to keys/logs section on top of the page

https://docs.fabric.io/apple/crashlytics/logged-errors.html#using-the-api

Namara answered 18/7, 2017 at 4:17 Comment(0)
S
0

Please check if you uploaded DSYM file with your build. If the DSYM file was supposed to be uploaded via a Fastlane job, then the upload might have failed.

Saucy answered 25/11, 2019 at 7:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.