Skip to content

Commit

Permalink
improve HTTP debug logging (#1547)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylion007 authored Mar 15, 2024
1 parent c2ab54d commit 29c06ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsspec/implementations/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ async def _info(self, url, **kwargs):
if policy == "get":
# If get failed, then raise a FileNotFoundError
raise FileNotFoundError(url) from exc
logger.debug(str(exc))
logger.debug("", exc_info=exc)

return {"name": url, "size": None, **info, "type": "file"}

Expand Down

0 comments on commit 29c06ea

Please sign in to comment.