Non-fatal errors not showing in Crashlytics

Viewed 2866

I was testing the non-fatal error functionality of Crashlytics and can't seem to get the recorded errors to appear in Crashlytics.

I did initialize Crashlytics in AppDelegate like this:

Fabric.with([Crashlytics.self])

And I test send error like this (the test code is in viewDidLoad method):

let error = NSError(domain: "myDomain", code: 1000, userInfo: nil)
Crashlytics.sharedInstance().recordError(error)

But nothing shows up in the analytics. I tried to:

  • Restart application
  • Disconnect from debugger and run the application several times
  • Add regular crash using Crashlytics.sharedInstance().crash(). In that case only the fatal crash is reported
  • I waited 4 days for the data to show up

enter image description here

Versions:

  • Crashlytics (3.8.5)
  • Fabric (1.6.12)

Thanks

3 Answers

Run the script which uploads DSYMS to Firebase. Typically this script is not executed in debug mode - check the Build Phases tab. If you use such configuration just try in AdHoc build.

Please check if you uploaded DSYM file with your build.

Related