-
-
Save mukeshsolanki/ed1f25c21bede717ac05d8b9aadc8ea6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExampleApp : Application(), ExceptionListener { | |
override fun uncaughtException(thread: Thread, throwable: Throwable) { | |
// TODO Make sure you are logging this issue some where like Crashlytics. | |
// Also indicate that something went wrong to the user like maybe a dialog or an activity. | |
Log.d("ExampleApp", t.message) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment