Merge pull request #809 from AAEE86/feat-detail-log

fix(gateway): redact sensitive error details in logs
This commit is contained in:
fawney19
2026-09-10 09:56:45 +08:00
committed by GitHub
15 changed files with 532 additions and 38 deletions
+1 -1
View File
@@ -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);