File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -718,7 +718,7 @@ impl Remote {
718718 . await
719719 . map_err ( |e| e ! ( GetError :: LocalFailure , e. into( ) ) ) ?,
720720 )
721- . map_err ( |e| e ! ( GetError :: BadRequest , e. into ( ) ) ) ?;
721+ . map_err ( |e| e ! ( GetError :: BadRequest , e) ) ?;
722722 // let mut hash_seq = LazyHashSeq::new(store.blobs().clone(), root);
723723 loop {
724724 let at_start_child = match next_child {
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ pub async fn get_hash_seq_and_sizes(
247247 }
248248 let ( mut curr, hash_seq) = at_blob_content. concatenate_into_vec ( ) . await ?;
249249 let hash_seq =
250- HashSeq :: try_from ( Bytes :: from ( hash_seq) ) . map_err ( |e| e ! ( GetError :: BadRequest , e. into ( ) ) ) ?;
250+ HashSeq :: try_from ( Bytes :: from ( hash_seq) ) . map_err ( |e| e ! ( GetError :: BadRequest , e) ) ?;
251251 let mut sizes = Vec :: with_capacity ( hash_seq. len ( ) ) ;
252252 let closing = loop {
253253 match curr. next ( ) {
You can’t perform that action at this time.
0 commit comments