SIGN IN SIGN UP

fix(sentry-okhttp): Skip synthetic 504 for FORCE_CACHE cache misses (#5299)

* fix(sentry-okhttp): Skip synthetic 504 for FORCE_CACHE cache misses

OkHttp's CacheInterceptor synthesizes a 504 "Unsatisfiable Request"
response when a request with `only-if-cached` (e.g. CacheControl.FORCE_CACHE)
misses the cache. This is not a real server error, so don't capture it
as a failed request event.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: Update changelog PR link to #5299

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
M
Markus Hintersteiner committed
40234a987c6bad214db8d58a919ea25404dc4c19
Parent: 0220a5c
Committed by GitHub <noreply@github.com> on 4/22/2026, 10:18:28 AM