File tree Expand file tree Collapse file tree
src/main/kotlin/org/axonframework/intellij/ide/plugin/support Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717package org.axonframework.intellij.ide.plugin.support
1818
19- import com.intellij.diagnostic.AbstractMessage
2019import com.intellij.ide.DataManager
2120import com.intellij.openapi.actionSystem.CommonDataKeys
2221import com.intellij.openapi.application.ApplicationManager
@@ -54,7 +53,7 @@ class AxonErrorReportSubmitter : ErrorReportSubmitter() {
5453 object : Task .Backgroundable (project, " Sending error report" ) {
5554 override fun run (indicator : ProgressIndicator ) {
5655 try {
57- val original: Throwable = ( events[0 ].data as AbstractMessage ? )? .throwable ? : return
56+ val original: Throwable = events[0 ].throwable ? : return
5857 service.reportException(project, original, additionalInfo)
5958 consumer.consume(SubmittedReportInfo (SubmittedReportInfo .SubmissionStatus .NEW_ISSUE ))
6059 showThankYou()
You can’t perform that action at this time.
0 commit comments