Skip to content

Commit 294c044

Browse files
Handling reward manifest still require error mapping
Many of the streams in file-store are still heavily tied to `file_store::Error`. Passing reward manifest files still requires us mapping into a proper lib error so we can pass it to a lib function.
1 parent 3f231d1 commit 294c044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reward_index/src/indexer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl Indexer {
142142
manifest
143143
.written_files
144144
.into_iter()
145-
.map(|file_name| FileInfo::from_str(&file_name)),
145+
.map(|file_name| FileInfo::from_str(&file_name).map_err(file_store::Error::from)),
146146
)
147147
.boxed();
148148

0 commit comments

Comments
 (0)