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
Versions:
- Crashlytics (3.8.5)
- Fabric (1.6.12)
Thanks
