@@ -133,6 +133,7 @@ impl KVStoreSync for VssStore {
133133 internal_runtime. block_on ( async move {
134134 tokio:: time:: timeout ( VSS_IO_TIMEOUT , fut) . await . map_err ( |_| {
135135 let msg = "VssStore::read timed out" ;
136+ eprintln ! ( "{}" , msg) ;
136137 Error :: new ( ErrorKind :: Other , msg)
137138 } )
138139 } ) ?
@@ -170,8 +171,9 @@ impl KVStoreSync for VssStore {
170171 // times out.
171172 tokio:: task:: block_in_place ( move || {
172173 internal_runtime. block_on ( async move {
173- tokio:: time:: timeout ( VSS_IO_TIMEOUT , fut) . await . map_err ( |_ | {
174+ tokio:: time:: timeout ( VSS_IO_TIMEOUT , fut) . await . map_err ( |e | {
174175 let msg = "VssStore::write timed out" ;
176+ eprintln ! ( "VssStore::write timed out: {:?}" , e) ;
175177 Error :: new ( ErrorKind :: Other , msg)
176178 } )
177179 } ) ?
@@ -210,6 +212,7 @@ impl KVStoreSync for VssStore {
210212 internal_runtime. block_on ( async move {
211213 tokio:: time:: timeout ( VSS_IO_TIMEOUT , fut) . await . map_err ( |_| {
212214 let msg = "VssStore::remove timed out" ;
215+ eprintln ! ( "{}" , msg) ;
213216 Error :: new ( ErrorKind :: Other , msg)
214217 } )
215218 } ) ?
@@ -232,6 +235,7 @@ impl KVStoreSync for VssStore {
232235 internal_runtime. block_on ( async move {
233236 tokio:: time:: timeout ( VSS_IO_TIMEOUT , fut) . await . map_err ( |_| {
234237 let msg = "VssStore::list timed out" ;
238+ eprintln ! ( "{}" , msg) ;
235239 Error :: new ( ErrorKind :: Other , msg)
236240 } )
237241 } ) ?
0 commit comments