chore(lint): Use logging.exception instead of logging.error (#10415)
This commit is contained in:
parent
dd5ffaf058
commit
574c4a264f
22 changed files with 31 additions and 30 deletions
|
|
@ -98,7 +98,7 @@ class ToolFileManager:
|
|||
response.raise_for_status()
|
||||
blob = response.content
|
||||
except Exception as e:
|
||||
logger.error(f"Failed to download file from {file_url}: {e}")
|
||||
logger.exception(f"Failed to download file from {file_url}: {e}")
|
||||
raise
|
||||
|
||||
mimetype = guess_type(file_url)[0] or "octet/stream"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue