Skip to content

Commit

Permalink
Merge pull request #3368 from nextcloud/strugee-patch-1
Browse files Browse the repository at this point in the history
Improve error message
  • Loading branch information
mgallien authored Jun 3, 2021
2 parents 83498c3 + a51d0a1 commit 62656b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/propagatedownload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ void PropagateDownloadFile::slotGetFinished()
if (_tmpFile.size() == 0 && _item->_size > 0) {
FileSystem::remove(_tmpFile.fileName());
done(SyncFileItem::NormalError,
tr("The downloaded file is empty despite that the server announced it should have been %1.")
tr("The downloaded file is empty, but the server said it should have been %1.")
.arg(Utility::octetsToString(_item->_size)));
return;
}
Expand Down

0 comments on commit 62656b0

Please sign in to comment.