fix(gateway): redact sensitive error log details

This commit is contained in:
AAEE86
2026-09-09 13:27:20 +08:00
parent f2839ae6a7
commit 33ea4ebf15
15 changed files with 532 additions and 38 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ async fn authorize_operational_request(
}
}
Err(err) => {
warn!(error = ?err, "operational admin session authentication failed");
warn!(error = %crate::error::redact_error_debug(&err), "operational admin session authentication failed");
return operational_error_response(
StatusCode::SERVICE_UNAVAILABLE,
"operational authentication unavailable",