mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-31 04:56:02 +00:00
Potential fix for code scanning alert no. 36: Clear-text logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
cf2d9b4b16
commit
2a0dd2fae7
1 changed files with 2 additions and 2 deletions
|
|
@ -229,8 +229,8 @@ def google_search(query: str, search_type: str = "web", key: Key = Depends(key_m
|
|||
logger.error(
|
||||
"Google search failed",
|
||||
extra={
|
||||
"query": query,
|
||||
"search_type": search_type,
|
||||
"query": _redact_secret(query),
|
||||
"search_type": _redact_secret(search_type),
|
||||
"error_type": type(e).__name__,
|
||||
"error": _redact_secret(str(e)),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue