How to log non-fatal (caught) exceptions with Firebase (Crashlytics)
With the new Firebase Crashlytics you should use recordException(@NonNull Throwable throwable)
...
catch (e: Exception) {
FirebaseCrashlytics.getInstance().recordException(e)
}
...
Here is firebase documentation stating that
You can use
FirebaseCrashlytics.getInstance().recordException(e)
to log non fatal issues on crashlytics