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
@@ -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);