1package com.parseable.android
3import android.app.Application
4import dagger.hilt.android.HiltAndroidApp
5import timber.log.Timber
8class ParseableApp : Application() {
10 override fun onCreate() {
13 if (BuildConfig.DEBUG) {
14 Timber.plant(Timber.DebugTree())
17 installUncaughtExceptionHandler()
20 private fun installUncaughtExceptionHandler() {
21 val defaultHandler = Thread.getDefaultUncaughtExceptionHandler()
22 Thread.setDefaultUncaughtExceptionHandler { thread, throwable ->
23 Timber.e(throwable, "Uncaught exception on thread ${thread.name}")
24 // Delegate to the default handler so the system can still terminate
25 // the process for truly fatal errors (e.g. OOM).
26 defaultHandler?.uncaughtException(thread, throwable)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list