Skip to content

Conversation

@mkurz
Copy link
Member

@mkurz mkurz commented Jul 15, 2025

The changed code is part of the resultConversionWithErrorHandling method. Obviously that code lives in transport/server/ and is part of the backend servers and only gets called by

When calling onServerError from one of the backends we alway add a "server-backend" HttpErrorInfo attr:

debugHeader.addAttr(HttpErrorHandler.Attrs.HttpErrorInfo, HttpErrorInfo("server-backend")),

debugHeader.addAttr(HttpErrorHandler.Attrs.HttpErrorInfo, HttpErrorInfo("server-backend")),

taggedRequestHeader.addAttr(HttpErrorHandler.Attrs.HttpErrorInfo, HttpErrorInfo("server-backend")),

Seems like I missed this one 😢

Introduced in

@mkurz
Copy link
Member Author

mkurz commented Jul 15, 2025

@Mergifyio backport 2.9.x 3.0.x

@mergify
Copy link
Contributor

mergify bot commented Jul 15, 2025

@mkurz mkurz merged commit c2db60c into playframework:main Jul 15, 2025
29 checks passed
@mkurz mkurz deleted the server-backend_missing-HttpErrorInfo branch July 15, 2025 15:19
mergify bot added a commit that referenced this pull request Jul 15, 2025
[3.0.x] A call to `onClientError` from the server backend was missing the `HttpErrorInfo` attr (backport #13416) by @mkurz
mergify bot added a commit that referenced this pull request Jul 15, 2025
[2.9.x] A call to `onClientError` from the server backend was missing the `HttpErrorInfo` attr (backport #13416) by @mkurz
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.

1 participant