File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/kotlin/org/axonframework/intellij/ide/plugin/support Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package org.axonframework.intellij.ide.plugin.support
18
18
19
- import com.intellij.diagnostic.AbstractMessage
20
19
import com.intellij.ide.DataManager
21
20
import com.intellij.openapi.actionSystem.CommonDataKeys
22
21
import com.intellij.openapi.application.ApplicationManager
@@ -54,7 +53,7 @@ class AxonErrorReportSubmitter : ErrorReportSubmitter() {
54
53
object : Task .Backgroundable (project, " Sending error report" ) {
55
54
override fun run (indicator : ProgressIndicator ) {
56
55
try {
57
- val original: Throwable = ( events[0 ].data as AbstractMessage ? )? .throwable ? : return
56
+ val original: Throwable = events[0 ].throwable ? : return
58
57
service.reportException(project, original, additionalInfo)
59
58
consumer.consume(SubmittedReportInfo (SubmittedReportInfo .SubmissionStatus .NEW_ISSUE ))
60
59
showThankYou()
You can’t perform that action at this time.
0 commit comments