mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-06 01:17:46 +08:00
fix(observability): preserve admin upstream error diagnostics
This commit is contained in:
@@ -14682,9 +14682,10 @@ mod tests {
|
||||
candidate_extra["upstream_response"]["status_code"],
|
||||
json!(302)
|
||||
);
|
||||
assert!(candidate_extra["upstream_response"]
|
||||
.get("headers")
|
||||
.is_none());
|
||||
assert_eq!(
|
||||
candidate_extra["upstream_response"]["headers"]["location"],
|
||||
"/"
|
||||
);
|
||||
assert!(candidate_extra["upstream_response"].get("body").is_none());
|
||||
assert!(candidate_extra.get("client_response").is_none());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user