Skip to content

Commit 0142afd

Browse files
fix(proguard): Add leading / to uploaded Proguard file name (#2304)
The leading `/` is [required](https://github.com/getsentry/sentry/blob/e5a117971a55245eadbc2f525dde11f93f10ef57/src/sentry/models/debugfile.py#L51) for Sentry to identify an uploaded file as a Proguard file. This bug was initially created in #2296, which has fortunately not been released yet.
1 parent 53ee484 commit 0142afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/proguard/mapping.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl AsRef<[u8]> for ProguardMapping<'_> {
6969

7070
impl Assemblable for ProguardMapping<'_> {
7171
fn name(&self) -> Cow<str> {
72-
format!("proguard/{}.txt", self.uuid).into()
72+
format!("/proguard/{}.txt", self.uuid).into()
7373
}
7474

7575
fn debug_id(&self) -> Option<DebugId> {

0 commit comments

Comments
 (0)