Skip to content

Commit 9b06560

Browse files
committed
fix test
1 parent 05230d0 commit 9b06560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/ktor/ktor-3.0/testing/src/main/kotlin/io/opentelemetry/instrumentation/ktor/v3_0/server/AbstractKtorHttpServerTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ abstract class AbstractKtorHttpServerTest : AbstractHttpServerTest<EmbeddedServe
5757

5858
get(ServerEndpoint.EXCEPTION.path) {
5959
controller(ServerEndpoint.EXCEPTION) {
60-
throw Exception(ServerEndpoint.EXCEPTION.body)
60+
throw IllegalStateException(ServerEndpoint.EXCEPTION.body)
6161
}
6262
}
6363

0 commit comments

Comments
 (0)