Skip to content

Throw 400 on failed Upgrade by the request.#285

Merged
dustinrouillard merged 1 commit intoPhineas:mainfrom
pxseu:pxseu/400-on-failed-upgrade-by-user
Apr 23, 2026
Merged

Throw 400 on failed Upgrade by the request.#285
dustinrouillard merged 1 commit intoPhineas:mainfrom
pxseu:pxseu/400-on-failed-upgrade-by-user

Conversation

@pxseu
Copy link
Copy Markdown
Contributor

@pxseu pxseu commented Apr 23, 2026

WebSockAdapter.upgrade for some reasons can error, however it uses the WebSockAdapter.UpgradeValidation.validate_upgrade! function that raises an exception of WebSockAdapter.UpgradeError

Pretty annoying, I might say.

@dustinrouillard
Copy link
Copy Markdown
Collaborator

LGTM

@dustinrouillard dustinrouillard merged commit 68c42fd into Phineas:main Apr 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants