File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ where
101
101
let mut reader =
102
102
kv_store. read ( NETWORK_GRAPH_PERSISTENCE_NAMESPACE , NETWORK_GRAPH_PERSISTENCE_KEY ) ?;
103
103
NetworkGraph :: read ( & mut reader, logger. clone ( ) ) . map_err ( |e| {
104
- log_error ! ( logger, "Failed to deserialize network graph : {}" , e) ;
105
- std:: io:: Error :: new ( std:: io:: ErrorKind :: InvalidData , "Failed to deserialize network graph " )
104
+ log_error ! ( logger, "Failed to deserialize NetworkGraph : {}" , e) ;
105
+ std:: io:: Error :: new ( std:: io:: ErrorKind :: InvalidData , "Failed to deserialize NetworkGraph " )
106
106
} )
107
107
}
108
108
@@ -169,8 +169,11 @@ where
169
169
& mut kv_store. read ( PAYMENT_INFO_PERSISTENCE_NAMESPACE , & stored_key) ?,
170
170
)
171
171
. map_err ( |e| {
172
- log_error ! ( logger, "Failed to deserialize Payment: {}" , e) ;
173
- std:: io:: Error :: new ( std:: io:: ErrorKind :: InvalidData , "Failed to deserialize Payment" )
172
+ log_error ! ( logger, "Failed to deserialize PaymentDetails: {}" , e) ;
173
+ std:: io:: Error :: new (
174
+ std:: io:: ErrorKind :: InvalidData ,
175
+ "Failed to deserialize PaymentDetails" ,
176
+ )
174
177
} ) ?;
175
178
res. push ( payment) ;
176
179
}
You can’t perform that action at this time.
0 commit comments