Skip to content

fix: Log Warning instead of Error when ratelimited#4927

Merged
bitsandfoxes merged 3 commits intomainfrom
fix/rate-limiting-log-level
Feb 18, 2026
Merged

fix: Log Warning instead of Error when ratelimited#4927
bitsandfoxes merged 3 commits intomainfrom
fix/rate-limiting-log-level

Conversation

@bitsandfoxes
Copy link
Copy Markdown
Contributor

@bitsandfoxes bitsandfoxes commented Feb 16, 2026

Surfaced through getsentry/sentry-unity#2538

This PR addresses an inconsistency in expected, recoverable behaviour that has - as per log message - no effect on the user's application. Same as dropping events with too large attachments.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 16, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Fixes 🐛

  • fix: Log Warning instead of Error when ratelimited by bitsandfoxes in #4927
  • fix: Log Warning instead of Error when ratelimited by bitsandfoxes in #4927

Dependencies ⬆️

Deps

  • chore(deps): update Native SDK to v0.12.8 by github-actions in #4929
  • Apps built using the Sentry SDK for .NET must now target iOS version 15 or higher. Previously only version 13 or higher was required. (#4781) by github-actions in #4781
  • Bump Cocoa SDK from v8.57.3 to v9.2.0 (#4781) by github-actions in #4781
  • chore(deps): update Native SDK to v0.12.7 by github-actions in #4920

Other

  • test(blazor): Add Playwright E2E tests for navigation breadcrumbs by bruno-garcia in #4908
  • test(android): Use volatile to produce SIGSEGV in native crash test by jpnurmi in #4919

🤖 This preview updates automatically when you update the PR.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 16, 2026

Codecov Report

❌ Patch coverage is 86.36364% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.88%. Comparing base (7c80a90) to head (d31988a).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/Sentry/Http/HttpTransportBase.cs 86.36% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4927      +/-   ##
==========================================
+ Coverage   73.86%   73.88%   +0.01%     
==========================================
  Files         496      496              
  Lines       17927    17947      +20     
  Branches     3511     3516       +5     
==========================================
+ Hits        13242    13260      +18     
- Misses       3824     3825       +1     
- Partials      861      862       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jamescrosswell
Copy link
Copy Markdown
Collaborator

Is this consistent with what the other SDKs do for 429 response codes?

Arguably the user's tests could use mocks rather than a real Sentry instance... so I'm not sure if we want to change the SDK here to make one user's tests pass.

@bitsandfoxes
Copy link
Copy Markdown
Contributor Author

bitsandfoxes commented Feb 17, 2026

change the SDK here to make one user's tests pass

This is a red herring. It's not about user tests, they are just surfacing an inconsistency. The other SDKs are also all over the place, checking a few: Python and Dart logs a warning, Cocoa debug, Java does it like .NET right now, warns on dropped attachments and errors on 429.

My argument is still: If this is handled and expected behaviour, why is this an error.

Copy link
Copy Markdown
Collaborator

@jamescrosswell jamescrosswell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

btw: You shouldn't need to explicitly add a changelog anymore... these get generated automatically from the PR descriptions now (for future reference).

@bitsandfoxes bitsandfoxes merged commit f201b65 into main Feb 18, 2026
39 checks passed
@bitsandfoxes bitsandfoxes deleted the fix/rate-limiting-log-level branch February 18, 2026 10:08
evgenygunko pushed a commit to evgenygunko/CopyWordsDA that referenced this pull request Mar 13, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Sentry.Maui](https://sentry.io/) ([source](https://github.com/getsentry/sentry-dotnet)) | nuget | minor | `6.1.0` -> `6.2.0` |

---

### Release Notes

<details>
<summary>getsentry/sentry-dotnet (Sentry.Maui)</summary>

### [`v6.2.0`](https://github.com/getsentry/sentry-dotnet/blob/HEAD/CHANGELOG.md#620)

[Compare Source](getsentry/sentry-dotnet@6.1.0...6.2.0)

##### Features

-   Outbound HTTP requests now show in the Network tab for Android Session Replays ([#&#8203;4860](getsentry/sentry-dotnet#4860))

##### Fixes

-   The SDK now logs a `Warning` instead of an `Error` when being ratelimited ([#&#8203;4927](getsentry/sentry-dotnet#4927))
-   Symbolication now works correctly with Android workloads 10.0.102 and later ([#&#8203;4998](getsentry/sentry-dotnet#4998))
-   `libmonosgen` and `libxamarin` frames no longer show as in-app ([#&#8203;4960](getsentry/sentry-dotnet#4960))

##### Dependencies

-   Bump Native SDK from v0.12.6 to v0.13.2 ([#&#8203;4920](getsentry/sentry-dotnet#4920), [#&#8203;4929](getsentry/sentry-dotnet#4929), [#&#8203;4941](getsentry/sentry-dotnet#4941), [#&#8203;4964](getsentry/sentry-dotnet#4964), [#&#8203;4996](getsentry/sentry-dotnet#4996))
-   Bump Cocoa SDK from v8.57.3 to v9.5.0 ([#&#8203;4781](getsentry/sentry-dotnet#4781), [#&#8203;4928](getsentry/sentry-dotnet#4928), [#&#8203;4944](getsentry/sentry-dotnet#4944))
-   Bump CLI from v2.58.2 to v3.3.0 ([#&#8203;4805](getsentry/sentry-dotnet#4805), [#&#8203;4943](getsentry/sentry-dotnet#4943), [#&#8203;4973](getsentry/sentry-dotnet#4973))
    -   NOTE: Sentry CLI v3 removed support for the legacy API key authentication method. Sentry CLI now only supports authenticating with Auth Tokens. If you are using API key authentication via `SentryApiKey`, you need to generate an [Auth Token](https://docs.sentry.io/account/auth-tokens/) and use `SentryAuthToken`, instead.
-   Bump Java SDK from v8.32.0 to v8.34.1 ([#&#8203;4933](getsentry/sentry-dotnet#4933), [#&#8203;4986](getsentry/sentry-dotnet#4986))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or PR is renamed to start with "rebase!".

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/di...
github-merge-queue bot pushed a commit to DFE-Digital/teaching-record-system that referenced this pull request Mar 18, 2026
Updated [Sentry.AspNetCore](https://github.com/getsentry/sentry-dotnet)
from 6.1.0 to 6.2.0.

<details>
<summary>Release notes</summary>

_Sourced from [Sentry.AspNetCore's
releases](https://github.com/getsentry/sentry-dotnet/releases)._

## 6.2.0

### Features

- Outbound HTTP requests now show in the Network tab for Android Session
Replays ([#​4860](getsentry/sentry-dotnet#4860))

### Fixes

- The SDK now logs a `Warning` instead of an `Error` when being
ratelimited
([#​4927](getsentry/sentry-dotnet#4927))
- Symbolication now works correctly with Android workloads 10.0.102 and
later ([#​4998](getsentry/sentry-dotnet#4998))
- `libmonosgen` and `libxamarin` frames no longer show as in-app
([#​4960](getsentry/sentry-dotnet#4960))

### Dependencies

- Bump Native SDK from v0.12.6 to v0.13.2
([#​4920](getsentry/sentry-dotnet#4920),
[#​4929](getsentry/sentry-dotnet#4929),
[#​4941](getsentry/sentry-dotnet#4941),
[#​4964](getsentry/sentry-dotnet#4964),
[#​4996](getsentry/sentry-dotnet#4996))
- Bump Cocoa SDK from v8.57.3 to v9.5.0
([#​4781](getsentry/sentry-dotnet#4781),
[#​4928](getsentry/sentry-dotnet#4928),
[#​4944](getsentry/sentry-dotnet#4944))
- Bump CLI from v2.58.2 to v3.3.0
([#​4805](getsentry/sentry-dotnet#4805),
[#​4943](getsentry/sentry-dotnet#4943),
[#​4973](getsentry/sentry-dotnet#4973))
- NOTE: Sentry CLI v3 removed support for the legacy API key
authentication method. Sentry CLI now only supports authenticating with
Auth Tokens. If you are using API key authentication via `SentryApiKey`,
you need to generate an [Auth
Token](https://docs.sentry.io/account/auth-tokens/) and use
`SentryAuthToken`, instead.
- Bump Java SDK from v8.32.0 to v8.34.1
([#​4933](getsentry/sentry-dotnet#4933),
[#​4986](getsentry/sentry-dotnet#4986))

## 6.2.0-alpha.0

### Features

- Add navigation breadcrumbs for Blazor WebAssembly
([#​4907](getsentry/sentry-dotnet#4907))

### Dependencies

- Bumped Xamarin.Kotlin.StdLib.Jdk8 to 2.2.20
([#​4876](getsentry/sentry-dotnet#4876))
- Bumped CommunityToolkit.Mvvm to 8.4.0
([#​4876](getsentry/sentry-dotnet#4876))

Commits viewable in [compare
view](getsentry/sentry-dotnet@6.1.0...6.2.0).
</details>

Updated
[Sentry.Extensions.Logging](https://github.com/getsentry/sentry-dotnet)
from 6.1.0 to 6.2.0.

<details>
<summary>Release notes</summary>

_Sourced from [Sentry.Extensions.Logging's
releases](https://github.com/getsentry/sentry-dotnet/releases)._

## 6.2.0

### Features

- Outbound HTTP requests now show in the Network tab for Android Session
Replays ([#​4860](getsentry/sentry-dotnet#4860))

### Fixes

- The SDK now logs a `Warning` instead of an `Error` when being
ratelimited
([#​4927](getsentry/sentry-dotnet#4927))
- Symbolication now works correctly with Android workloads 10.0.102 and
later ([#​4998](getsentry/sentry-dotnet#4998))
- `libmonosgen` and `libxamarin` frames no longer show as in-app
([#​4960](getsentry/sentry-dotnet#4960))

### Dependencies

- Bump Native SDK from v0.12.6 to v0.13.2
([#​4920](getsentry/sentry-dotnet#4920),
[#​4929](getsentry/sentry-dotnet#4929),
[#​4941](getsentry/sentry-dotnet#4941),
[#​4964](getsentry/sentry-dotnet#4964),
[#​4996](getsentry/sentry-dotnet#4996))
- Bump Cocoa SDK from v8.57.3 to v9.5.0
([#​4781](getsentry/sentry-dotnet#4781),
[#​4928](getsentry/sentry-dotnet#4928),
[#​4944](getsentry/sentry-dotnet#4944))
- Bump CLI from v2.58.2 to v3.3.0
([#​4805](getsentry/sentry-dotnet#4805),
[#​4943](getsentry/sentry-dotnet#4943),
[#​4973](getsentry/sentry-dotnet#4973))
- NOTE: Sentry CLI v3 removed support for the legacy API key
authentication method. Sentry CLI now only supports authenticating with
Auth Tokens. If you are using API key authentication via `SentryApiKey`,
you need to generate an [Auth
Token](https://docs.sentry.io/account/auth-tokens/) and use
`SentryAuthToken`, instead.
- Bump Java SDK from v8.32.0 to v8.34.1
([#​4933](getsentry/sentry-dotnet#4933),
[#​4986](getsentry/sentry-dotnet#4986))

## 6.2.0-alpha.0

### Features

- Add navigation breadcrumbs for Blazor WebAssembly
([#​4907](getsentry/sentry-dotnet#4907))

### Dependencies

- Bumped Xamarin.Kotlin.StdLib.Jdk8 to 2.2.20
([#​4876](getsentry/sentry-dotnet#4876))
- Bumped CommunityToolkit.Mvvm to 8.4.0
([#​4876](getsentry/sentry-dotnet#4876))

Commits viewable in [compare
view](getsentry/sentry-dotnet@6.1.0...6.2.0).
</details>

Updated [Sentry.Serilog](https://github.com/getsentry/sentry-dotnet)
from 6.1.0 to 6.2.0.

<details>
<summary>Release notes</summary>

_Sourced from [Sentry.Serilog's
releases](https://github.com/getsentry/sentry-dotnet/releases)._

## 6.2.0

### Features

- Outbound HTTP requests now show in the Network tab for Android Session
Replays ([#​4860](getsentry/sentry-dotnet#4860))

### Fixes

- The SDK now logs a `Warning` instead of an `Error` when being
ratelimited
([#​4927](getsentry/sentry-dotnet#4927))
- Symbolication now works correctly with Android workloads 10.0.102 and
later ([#​4998](getsentry/sentry-dotnet#4998))
- `libmonosgen` and `libxamarin` frames no longer show as in-app
([#​4960](getsentry/sentry-dotnet#4960))

### Dependencies

- Bump Native SDK from v0.12.6 to v0.13.2
([#​4920](getsentry/sentry-dotnet#4920),
[#​4929](getsentry/sentry-dotnet#4929),
[#​4941](getsentry/sentry-dotnet#4941),
[#​4964](getsentry/sentry-dotnet#4964),
[#​4996](getsentry/sentry-dotnet#4996))
- Bump Cocoa SDK from v8.57.3 to v9.5.0
([#​4781](getsentry/sentry-dotnet#4781),
[#​4928](getsentry/sentry-dotnet#4928),
[#​4944](getsentry/sentry-dotnet#4944))
- Bump CLI from v2.58.2 to v3.3.0
([#​4805](getsentry/sentry-dotnet#4805),
[#​4943](getsentry/sentry-dotnet#4943),
[#​4973](getsentry/sentry-dotnet#4973))
- NOTE: Sentry CLI v3 removed support for the legacy API key
authentication method. Sentry CLI now only supports authenticating with
Auth Tokens. If you are using API key authentication via `SentryApiKey`,
you need to generate an [Auth
Token](https://docs.sentry.io/account/auth-tokens/) and use
`SentryAuthToken`, instead.
- Bump Java SDK from v8.32.0 to v8.34.1
([#​4933](getsentry/sentry-dotnet#4933),
[#​4986](getsentry/sentry-dotnet#4986))

## 6.2.0-alpha.0

### Features

- Add navigation breadcrumbs for Blazor WebAssembly
([#​4907](getsentry/sentry-dotnet#4907))

### Dependencies

- Bumped Xamarin.Kotlin.StdLib.Jdk8 to 2.2.20
([#​4876](getsentry/sentry-dotnet#4876))
- Bumped CommunityToolkit.Mvvm to 8.4.0
([#​4876](getsentry/sentry-dotnet#4876))

Commits viewable in [compare
view](getsentry/sentry-dotnet@6.1.0...6.2.0).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants