Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
keiya01 authored Jun 21, 2022
1 parent 5ef5cb0 commit 6dc9071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/tauri/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1013,12 +1013,12 @@ where
);

if let Err(e) = file.seek(std::io::SeekFrom::Start(range.start)).await {
eprintln!("Failed to seek file to {}: {}", range.start, e);
debug_eprintln!("Failed to seek file to {}: {}", range.start, e);
return Err(e);
}

if let Err(e) = file.take(real_length).read_to_end(&mut buf).await {
eprintln!("Failed read file: {}", e);
debug_eprintln!("Failed read file: {}", e);
return Err(e);
}
} else {
Expand Down

0 comments on commit 6dc9071

Please sign in to comment.