Skip to content

Commit d5be157

Browse files
committed
Merge the audit fixes from the branches below, and check the exception type end to end
The console sample's test checked that the captured exception arrives with its type, RuntimeException, not just its value. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 78a1f9c commit d5be157

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎sentry/src/test/java/io/sentry/SentryEndToEndTest.kt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ class SentryEndToEndTest {
8888
server
8989
.awaitEnvelope { it.event()?.exceptions?.any { e -> e.value == "Some error!" } == true }
9090
.event()!!
91+
assertThat(error.exceptions!!.map { it.type to it.value })
92+
.contains("RuntimeException" to "Some error!")
9193
assertThat(error.hasFlag("my-feature-flag", true)).isTrue()
9294

9395
val detailed =

0 commit comments

Comments
 (0)