From 97887ed784fb64f7185225d8291ec3c2e6f64b5a Mon Sep 17 00:00:00 2001 From: Roman Zavarnitsyn Date: Tue, 12 Dec 2023 12:14:51 +0100 Subject: [PATCH 1/2] Keep SentryHttpClientException name from obfuscation --- sentry-android-core/proguard-rules.pro | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sentry-android-core/proguard-rules.pro b/sentry-android-core/proguard-rules.pro index 9b0e74c6d0..67d7e7691d 100644 --- a/sentry-android-core/proguard-rules.pro +++ b/sentry-android-core/proguard-rules.pro @@ -65,3 +65,10 @@ -keep class io.sentry.apollo3.SentryApollo3ClientException { (...); } ##---------------End: proguard configuration for sentry-apollo-3 ---------- + +##---------------Begin: proguard configuration for sentry-okhttp ---------- + +# we don't want this class to be obfuscated, otherwise issue's titles are obfuscated as well. +-keepnames class io.sentry.exception.SentryHttpClientException + +##---------------End: proguard configuration for sentry-okhttp ---------- From 4d9f3c87d59bd2822dcc9707c399ee47c8627685 Mon Sep 17 00:00:00 2001 From: Roman Zavarnitsyn Date: Tue, 12 Dec 2023 12:16:49 +0100 Subject: [PATCH 2/2] Changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ee5e78243..af69ed2b0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,8 @@ ### Fixes -- Send breadcrumbs and client error even without transactions ([#3087](https://github.com/getsentry/sentry-java/pull/3087)) +- Send breadcrumbs and client error in `SentryOkHttpEventListener` even without transactions ([#3087](https://github.com/getsentry/sentry-java/pull/3087)) +- Keep `io.sentry.exception.SentryHttpClientException` from obfuscation to display proper issue title on Sentry ([#3093](https://github.com/getsentry/sentry-java/pull/3093)) ### Dependencies