Commit 174a260
Preserve failure nf status set by recordFinalError in buildZuulHttpResponse (#2131)
When origin.recordFinalError() sets a specific failure StatusCategory
(e.g. from an origin subclass override), the subsequent unconditional
setStatusCategory call was overwriting it with the generic status
derived from the response code.
This PR switches to use storeStatusCategoryIfNotAlreadyFailure so that a
failure status set by recordFinalError is not overwritten.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f3cff57 commit 174a260
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
913 | | - | |
| 913 | + | |
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
| |||
0 commit comments