Fix bug when parsing headers in telemetry
This commit is contained in:
1 parent
3e410f9e0c
commit
7b674a610d
2 files changed
+2
-1
No files matched your search
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- Bug in dash storyboard
|
||||
- Adjust live video detection to reduce error rate happening on iOS client
|
||||
- Bug when parsing headers in telemetry
|
||||
|
||||
## [0.41.8] - 2025-09-07
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace Sentry
|
||||
|
||||
statusCode = response.StatusCode()
|
||||
if statusCode = 429
|
||||
retryAfter = ValidInt(response.Headers()["Retry-After"])
|
||||
retryAfter = ValidString(response.Headers()["Retry-After"]).ToInt()
|
||||
LogErrorNoTelemetry("Rate limited by Sentry. Retry after", retryAfter, "seconds")
|
||||
if retryAfter = 0
|
||||
retryAfter = 60
|
||||
|
||||
Reference in new issue
Block a user