Skip to content

Commit 5288e56

Browse files
committed
Use a full exception name instead of simple name to build inline link correctly
1 parent d247d3f commit 5288e56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utbot-summary/src/main/kotlin/org/utbot/summary/comment/CustomJavaDocCommentBuilder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class CustomJavaDocCommentBuilder(
7272
val exceptionThrow: String? = if (thrownException == null) {
7373
traceTag.result.exceptionOrNull()?.let { it::class.qualifiedName }
7474
} else {
75-
val exceptionName = thrownException.javaClass.simpleName
75+
val exceptionName = thrownException.javaClass.name
7676
val reason = findExceptionReason(currentMethod, thrownException)
7777
"{@link $exceptionName} $reason"
7878
}

0 commit comments

Comments
 (0)