backup: Show error info for RemovedDeadBackupLayerStatus

This commit is contained in:
Vishesh Yadav 2021-08-04 13:28:47 -07:00
parent d38cedbb80
commit c426b3042b
1 changed files with 1 additions and 1 deletions

View File

@ -1641,7 +1641,7 @@ ACTOR Future<Void> cleanupStatus(Reference<ReadYourWritesTransaction> tr,
readMore = true;
} catch (Error& e) {
// If doc can't be parsed or isn't alive, delete it.
TraceEvent(SevWarn, "RemovedDeadBackupLayerStatus").detail("Key", docs[i].key);
TraceEvent(SevWarn, "RemovedDeadBackupLayerStatus").detail("Key", docs[i].key).error(e, true);
tr->clear(docs[i].key);
// If limit is 1 then read more.
if (limit == 1)