Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
jja725 committed Mar 12, 2024
1 parent f50e474 commit aab5259
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,15 +466,15 @@ private void runInternal() {
}
if (error != null) {
try {
boolean success = !cancel && error == null;
completeRequest(mContext, success);
completeRequest(mContext, false);
} catch (Exception e) {
LOG.error("Failed to close the request.", e);
}
replyError(error);
} else if (eof || cancel) {
try {
completeRequest(mContext);
boolean success = !cancel;
completeRequest(mContext, success);
} catch (Exception e) {
LogUtils.warnWithException(LOG, "Exception occurred while completing read request, "
+ "EOF/CANCEL sessionId: {}. {}", mContext.getRequest().getSessionId(),
Expand Down

0 comments on commit aab5259

Please sign in to comment.