Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1137 from advancedtelematic/fix/manifest-error-lo…
Browse files Browse the repository at this point in the history
…gging

Better "could not put manifest" error
  • Loading branch information
pattivacek authored Mar 14, 2019
2 parents ffbed75 + fe724cb commit 10b39ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libaktualizr/primary/sotauptaneclient.cc
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ void SotaUptaneClient::initialize() {
bool SotaUptaneClient::updateMeta() {
// Uptane step 1 (build the vehicle version manifest):
if (!putManifestSimple()) {
LOG_ERROR << "could not put manifest";
return false;
}
return uptaneIteration();
Expand Down Expand Up @@ -1227,6 +1226,8 @@ bool SotaUptaneClient::putManifestSimple() {
storage->clearInstallationResults();
return true;
}

LOG_WARNING << "Put manifest request failed: " << response.getStatusStr();
return false;
}

Expand Down

0 comments on commit 10b39ee

Please sign in to comment.