Commit 72e80e61 authored by Dmitry Kichinsky's avatar Dmitry Kichinsky Committed by intellij-monorepo-bot
Browse files

[maven] more highlighting error logging in tests

GitOrigin-RevId: 491b3a6532b43af0962667952c0e3d925ba38f1f
parent c04aa671
Branches unavailable Tags unavailable
No related merge requests found
Showing with 9 additions and 0 deletions
+9 -0
......@@ -387,6 +387,15 @@ abstract class MavenDomTestCase : MavenMultiVersionImportingTestCase() {
myFixture!!.testHighlighting(true, false, true, f)
}
catch (throwable: Throwable) {
MavenLog.LOG.error("Exception during highlighting", throwable)
val cause1 = throwable.cause
if (null != cause1) {
MavenLog.LOG.error("Cause 1", cause1)
val cause2 = cause1.cause
if (null != cause2) {
MavenLog.LOG.error("Cause 2", cause2)
}
}
throw RuntimeException(throwable)
}
finally {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment