mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 18:07:47 +08:00
Merge pull request #809 from AAEE86/feat-detail-log
fix(gateway): redact sensitive error details in logs
This commit is contained in:
@@ -898,7 +898,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