Skip to content

Commit

Permalink
httpfs add error log (alibaba#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
beef9999 authored Apr 2, 2024
1 parent 71626d6 commit 53095ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fs/httpfs/httpfs_v2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ class HttpFile_v2 : public fs::VirtualReadOnlyFile {
}
m_authorized = true;
ret = op.resp.readv(iovec, iovcnt);
if (ret < 0) {
LOG_ERROR("HttpFs: read body failed, ", ERRNO());
}
return ret;
}

Expand Down

0 comments on commit 53095ba

Please sign in to comment.