Skip to content

Commit 40484e8

Browse files
committed
deltachat-ffi: update read_url_blob for new .log_err()
1 parent fc215ce commit 40484e8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deltachat-ffi/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4589,7 +4589,10 @@ pub unsafe extern "C" fn dc_get_http_response(
45894589

45904590
let context = &*context;
45914591
let url = to_string_lossy(url);
4592-
if let Ok(response) = block_on(read_url_blob(context, &url)).log_err(context, "read_url_blob") {
4592+
if let Ok(response) = block_on(read_url_blob(context, &url))
4593+
.context("read_url_blob")
4594+
.log_err(context)
4595+
{
45934596
Box::into_raw(Box::new(response))
45944597
} else {
45954598
ptr::null_mut()

0 commit comments

Comments
 (0)