Commit e73b1b8 1 parent 815df8b commit e73b1b8 Copy full SHA for e73b1b8
File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -397,18 +397,23 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo(
397
397
// Check for missing server data
398
398
{
399
399
QStringList missingData;
400
- if (serverEntry.size == -1 )
400
+ if (serverEntry.size == -1 ) {
401
401
missingData.append (tr (" size" ));
402
- if (serverEntry.remotePerm .isNull ())
402
+ }
403
+ if (serverEntry.remotePerm .isNull ()) {
403
404
missingData.append (tr (" permissions" ));
404
- if (serverEntry.etag .isEmpty ())
405
+ }
406
+ if (serverEntry.etag .isEmpty ()) {
405
407
missingData.append (tr (" etag" ));
406
- if (serverEntry.fileId .isEmpty ())
407
- missingData.append (tr (" file id" ));
408
+ }
409
+ if (serverEntry.fileId .isEmpty ()) {
410
+ missingData.append (tr (" id" ));
411
+ }
408
412
if (!missingData.isEmpty ()) {
409
413
item->setInstruction (CSYNC_INSTRUCTION_ERROR);
410
414
_childIgnored = true ;
411
415
item->_errorString = tr (" server reported no %1" ).arg (missingData.join (QLatin1String (" , " )));
416
+ qCWarning (lcDisco) << item->_errorString ;
412
417
Q_EMIT _discoveryData->itemDiscovered (item);
413
418
return ;
414
419
}
You can’t perform that action at this time.
0 commit comments