mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 02:17:46 +08:00
fix(gateway): redact sensitive error log details
This commit is contained in:
@@ -884,7 +884,7 @@ impl AppState {
|
||||
}
|
||||
Err(error) => {
|
||||
guard.fail(GatewayError::Internal(error.to_string()));
|
||||
warn!(error = %error, "background system config refresh failed");
|
||||
warn!(error = %crate::error::redact_error_detail(&error), "background system config refresh failed");
|
||||
}
|
||||
}
|
||||
drop(guard);
|
||||
|
||||
Reference in New Issue
Block a user