diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/Amethyst.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/Amethyst.kt index d5b850e1c..58102bb98 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/Amethyst.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/Amethyst.kt @@ -176,11 +176,10 @@ class Amethyst : Application() { override fun onCreate() { super.onCreate() Log.d("AmethystApp", "onCreate $this") + instance = this Thread.setDefaultUncaughtExceptionHandler(UnexpectedCrashSaver(crashReportCache, applicationIOScope)) - instance = this - if (isDebug) { Logging.setup() }