Fixed broken exception reporter

This commit is contained in:
Alexander Podkhalyuzin
2018-03-21 12:25:32 +03:00
parent b739db3c35
commit 7d72fe07bb
@@ -36,7 +36,7 @@ class KotlinReportSubmitter : ITNReporter() {
override fun showErrorInRelease(event: IdeaLoggingEvent): Boolean {
val notificationEnabled = "disabled" != System.getProperty("kotlin.fatal.error.notification", "enabled")
return !notificationEnabled && (!hasUpdate || KotlinInternalMode.enabled)
return notificationEnabled && (!hasUpdate || KotlinInternalMode.enabled)
}
override fun submit(events: Array<IdeaLoggingEvent>, additionalInfo: String?, parentComponent: Component, consumer: Consumer<SubmittedReportInfo>): Boolean {