https://kotlinlang.org logo
#android
Title
# android
l

lawlorslaw

09/06/2018, 1:41 AM
im trying to set up crashlytics in my project. i went through all the intitialization steps. set up a firebase project, as well as a fabric project. linked the projects. when i go to those dashboards it shows 0 crashes. Im trying to trigger a crash like so
Crashlytics.logException(IOException())
Why doesnt this force close the app and why doesnt it show a crash in either console?
e

edwardwongtl

09/06/2018, 4:05 AM
I think it is because the
Exception
is not fatal, so the app doesn’t crash and no reports on the console. You can try replacing
Crashlytics.logException(IOException())
with simple
throw IOException()
.
l

lawlorslaw

09/06/2018, 4:09 AM
yep it was just a different view in the console. thanks
6 Views