Commit d4e01f1
Fix User-Agent header to follow codebase conventions
Replace custom fallback "sentry-android-distribution" with error throw
when sentryClientName is null, following the pattern used throughout
the codebase where sentryClientName is expected to always be set.
Addresses PR review feedback about reusing consistent user agent.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5b462b5 commit d4e01f1
File tree
1 file changed
+1
-1
lines changed- sentry-android-distribution/src/main/java/io/sentry/android/distribution
1 file changed
+1
-1
lines changedsentry-android-distribution/src/main/java/io/sentry/android/distribution/DistributionHttpClient.kt
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments