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 committed Apr 2, 2024
1 parent e9d8fe8 commit 453fa01
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 453fa01

Please sign in to comment.