Skip to content

Commit

Permalink
Merge pull request #355 from bachue/master
Browse files Browse the repository at this point in the history
Fix the bug that cvt() could get rid of extra error message
  • Loading branch information
sagebind authored Sep 8, 2020
2 parents d7817da + fbb8e02 commit 87b2cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/easy/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3011,7 +3011,7 @@ impl<H> Easy2<H> {
if let Some(msg) = self.take_error_buf() {
err.set_extra(msg);
}
Err(Error::new(rc))
Err(err)
}
}

Expand Down

0 comments on commit 87b2cbf

Please sign in to comment.