I'm logging crashlytics errors in fabric. It works for crashes, and auto-generated non-fatals. But when I try to manually log non-fatals, it doesnt show at all. What can be the problem? (Yes, I have re-opened the app after the logging).
The logging methods I have tried:
Crashlytics.log(message);
Crashlytics.getInstance().core.logException(exception); //Caught exception
Crashlytics.logException(exception); //Caught exception
Crashlytics.logException(new Throwable(message));
None of them show up in my fabric dashboard...
I instantiate Fabric with this and its logging crashes, so I don't think that's the problem.
Fabric.with(this, new Crashlytics());
Crashlytics.logException(exception)
should do it. Usually there is a limit to number of non fatals that it records. Is none of them showing?For any individual app session, only the most recent 8 logged exceptions are stored.
docs.fabric.io/android/crashlytics/caught-exceptions.html – Cratext.enableCrashlytics = true
. Or atleast not set to false inbuild.gradle
. Else open a bug report to them probably. – Crat