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
101101 let mut reader =
102102 kv_store. read ( NETWORK_GRAPH_PERSISTENCE_NAMESPACE , NETWORK_GRAPH_PERSISTENCE_KEY ) ?;
103103 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 " )
106106 } )
107107}
108108
@@ -169,8 +169,11 @@ where
169169 & mut kv_store. read ( PAYMENT_INFO_PERSISTENCE_NAMESPACE , & stored_key) ?,
170170 )
171171 . 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+ )
174177 } ) ?;
175178 res. push ( payment) ;
176179 }
You can’t perform that action at this time.
0 commit comments