Successfully modified file: /home/Messier82/projects/service-book/app/src/main/java/com/servicebook/ServiceBookApplication.kt (1 replacements). Here is the updated code: ... options.isAttachScreenshot = false options.isAttachViewHierarchy = false options.setBeforeSend(::beforeSend) } internal open val sentryEnvironment: String get() = if (BuildConfig.DEBUG) "debug" else "release" internal open val sentryRelease: String get() = "${BuildConfig.APPLICATION_ID}@${BuildConfig.VERSION_NAME}+${BuildConfig.VERSION_CODE}" fun enableSentryNow() { val dsn = sentryDsn if (dsn.isNotEmpty() && !Sentry.isEnabled()) { ...