Skip to content

Conversation

@bdach
Copy link
Contributor

@bdach bdach commented Apr 15, 2025

This got dinged a few times yesterday on sentry (https://sentry.ppy.sh/organizations/ppy/issues/73418/?project=12) because somebody hit the absolute 200MB cap a few times.

This change is designed to (a) stop that from dinging on sentry because there's really no reason to log it as error, and (b) give the user a better error message to work with because the current one was kinda opaque (would just show "BadRequest" or similar).

bdach added 2 commits April 15, 2025 08:50
This got dinged a few times yesterday on sentry
(https://sentry.ppy.sh/organizations/ppy/issues/73418/?project=12)
because somebody hit the absolute 200MB cap a few times.

This change is designed to (a) stop that from dinging on sentry because
there's really no reason to log it as error, and (b) give the user a
better error message to work with because the current one was kinda
opaque (would just show "BadRequest" or similar).
@bdach bdach self-assigned this Apr 15, 2025
@bdach bdach changed the title Better error on too large request Show better error message on exceeding absolute request body cap Apr 15, 2025
@peppy peppy merged commit e138fa1 into ppy:master Apr 16, 2025
4 checks passed
@bdach bdach deleted the better-error-on-too-large-request branch April 16, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants