[2.9.x] A call to onClientError from the server backend was missing the HttpErrorInfo attr (backport #13416) by @mkurz
#13418
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The changed code is part of the
resultConversionWithErrorHandlingmethod. Obviously that code lives intransport/server/and is part of the backend servers and only gets called byNettyModelConversionPekkoModelConversionWhen calling
onServerErrorfrom one of the backends we alway add a"server-backend"HttpErrorInfoattr:playframework/transport/server/play-netty-server/src/main/scala/play/core/server/netty/PlayRequestHandler.scala
Line 118 in 6a4473c
playframework/transport/server/play-pekko-http-server/src/main/scala/play/core/server/PekkoHttpServer.scala
Line 342 in 6a4473c
playframework/transport/server/play-pekko-http-server/src/main/scala/play/core/server/PekkoHttpServer.scala
Line 477 in 6a4473c
Seems like I missed this one 😢
Introduced in
This is an automatic backport of pull request A call to
onClientErrorfrom the server backend was missing theHttpErrorInfoattr #13416 done by Mergify.