Skip to content

Commit

Permalink
wsd: mark last-upload as failed in early-failure
Browse files Browse the repository at this point in the history
Change-Id: Ie0726141248c605409ea52ee83ee3b17df7b1b0e
Signed-off-by: Ashod Nakashian <[email protected]>
  • Loading branch information
Ashod authored and mmeeks committed Aug 25, 2022
1 parent 986ff21 commit cb42775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsd/DocumentBroker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1508,9 +1508,9 @@ void DocumentBroker::uploadToStorageInternal(const std::string& sessionId,
broadcastSaveResult(false, "Could not upload document to storage");
}

//FIXME: flag the failure so we retry.
LOG_WRN("Failed to upload [" << _docKey << "] asynchronously. "
<< DocumentState::toString(_docState.activity()));
_storageManager.setLastUploadResult(false);

switch (_docState.activity())
{
Expand Down

0 comments on commit cb42775

Please sign in to comment.