remove exc_info from LOG.exception (#246)

This commit is contained in:
Shuchang Zheng
2024-04-30 00:27:32 -07:00
committed by GitHub
parent 45d11e5a7f
commit b6a85cf3a5
8 changed files with 20 additions and 22 deletions

View File

@@ -41,7 +41,7 @@ class AsyncAWSClient:
error_code = e.response["Error"]["Code"] # type: ignore
except Exception:
error_code = "failed-to-get-error-code"
LOG.exception("Failed to get secret.", secret_name=secret_name, error_code=error_code, exc_info=True)
LOG.exception("Failed to get secret.", secret_name=secret_name, error_code=error_code)
return None
@execute_with_async_client(client_type=AWSClientType.S3)