Commit 26ebad8 Mark Travis
committed
1 parent 3e5490e commit 26ebad8 Copy full SHA for 26ebad8
File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,12 @@ ValidatorSite::onSiteFetch(
254
254
" Invalid validator list from " <<
255
255
sites_[siteIdx].uri ;
256
256
}
257
+ else if (ListDisposition::unsupported_version == disp)
258
+ {
259
+ JLOG (j_.warn ()) <<
260
+ " Unsupported version validator list from " <<
261
+ sites_[siteIdx].uri ;
262
+ }
257
263
258
264
if (body.isMember (" refresh_interval" ) &&
259
265
body[" refresh_interval" ].isNumeric ())
@@ -269,6 +275,16 @@ ValidatorSite::onSiteFetch(
269
275
sites_[siteIdx].uri ;
270
276
}
271
277
}
278
+ else
279
+ {
280
+ JLOG (j_.warn ()) <<
281
+ " Problem retrieving from " <<
282
+ sites_[siteIdx].uri <<
283
+ " " <<
284
+ ec.value () <<
285
+ " :" <<
286
+ ec.message ();
287
+ }
272
288
273
289
std::lock_guard <std::mutex> lock{state_mutex_};
274
290
fetching_ = false ;
You can’t perform that action at this time.
0 commit comments