Skip to content

Commit

Permalink
error -> Warn on archive access issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBrady committed Oct 21, 2024
1 parent bcfbbe4 commit f29b9f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/historywork/CheckSingleLedgerHeaderWork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ CheckSingleLedgerHeaderWork::doWork()
}
else if (mGetLedgerFileWork->getState() != State::WORK_SUCCESS)
{
CLOG_ERROR(History,
"Failed to download ledger checkpoint {} from archive {}",
mFt->baseName_gz(), mArchive->getName());
CLOG_WARNING(History,
"Failed to download ledger checkpoint {} from archive {}",
mFt->baseName_gz(), mArchive->getName());
return mGetLedgerFileWork->getState();
}

Expand Down
6 changes: 3 additions & 3 deletions src/historywork/GetRemoteFileWork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ GetRemoteFileWork::onFailureRaise()
{
releaseAssert(mCurrentArchive);
mFailuresPerSecond.Mark(1);
CLOG_ERROR(History,
"Could not download file: archive {} maybe missing file {}",
mCurrentArchive->getName(), mRemote);
CLOG_WARNING(History,
"Could not download file: archive {} maybe missing file {}",
mCurrentArchive->getName(), mRemote);
RunCommandWork::onFailureRaise();
}

Expand Down

0 comments on commit f29b9f1

Please sign in to comment.