Skip to content

Commit

Permalink
Use Exception Analyzer for error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
dima74 committed Nov 18, 2021
1 parent 31c1bd3 commit b2d7026
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 117 deletions.
8 changes: 8 additions & 0 deletions src/main/kotlin/indent/rainbow/IrExceptionAnalyzerReporter.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package indent.rainbow

import com.intellij.diagnostic.ITNReporter
import com.intellij.openapi.diagnostic.IdeaLoggingEvent

class IrExceptionAnalyzerReporter : ITNReporter() {
override fun showErrorInRelease(event: IdeaLoggingEvent): Boolean = true
}
116 changes: 0 additions & 116 deletions src/main/kotlin/indent/rainbow/IrSentryErrorReporter.kt

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<postStartupActivity implementation="indent.rainbow.IrPostStartupActivity" />
<colorSettingsPage implementation="indent.rainbow.settings.IrColorSettingsPage" />
<errorHandler implementation="indent.rainbow.IrSentryErrorReporter" />
<errorHandler implementation="indent.rainbow.IrExceptionAnalyzerReporter" />
</extensions>

<actions>
Expand Down

0 comments on commit b2d7026

Please sign in to comment.