We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf801e commit 59fc11cCopy full SHA for 59fc11c
src/lib.rs
@@ -419,11 +419,15 @@ impl<Loader: CacheLoader> AsyncLoader<Loader> {
419
ValueForRender::Success { .. } => result,
420
ValueForRender::Error {
421
stale_cache: Some(stale_cache),
422
- ..
423
- } => ValueForRender::Success {
424
- value: stale_cache.value,
425
- loaded: stale_cache.loaded,
426
- },
+ message,
+ status,
+ } => {
+ tracing::error!("AsyncLoader::get_value_allow_stale: using stale cache, status=={status}, message: {message}");
+ ValueForRender::Success {
427
+ value: stale_cache.value,
428
+ loaded: stale_cache.loaded,
429
+ }
430
431
ValueForRender::Error { .. } => result,
432
}
433
0 commit comments