Skip to content

Commit 1ffaa05

Browse files
committed
switch the tombstone mechanisms from snake to pascal case.
1 parent 6ddaea9 commit 1ffaa05

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sentry-android-core/src/main/java/io/sentry/android/core/internal/tombstone/NativeExceptionMechanism.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
/** Mechanism types for native crashes. */
66
public enum NativeExceptionMechanism {
7-
TOMBSTONE("tombstone"),
7+
TOMBSTONE("Tombstone"),
88
SIGNAL_HANDLER("signalhandler"),
9-
TOMBSTONE_MERGED("tombstone_merged");
9+
TOMBSTONE_MERGED("TombstoneMerged");
1010

1111
private final @NonNull String value;
1212

sentry-android-core/src/test/java/io/sentry/android/core/internal/tombstone/TombstoneParserTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class TombstoneParserTest {
7272
assertNotNull(crashedThreadId)
7373

7474
val mechanism = exception.mechanism
75-
assertEquals("tombstone", mechanism!!.type)
75+
assertEquals("Tombstone", mechanism!!.type)
7676
assertEquals(false, mechanism.isHandled)
7777
assertEquals(true, mechanism.synthetic)
7878
assertEquals("SIGSEGV", mechanism.meta!!["name"])

0 commit comments

Comments
 (0)