mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 01:47:47 +08:00
fix(gateway): redact sensitive error log details
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user