More useful error text

This helped me figure out the error in the test
This commit is contained in:
Albert Vaca Cintora 2019-02-13 00:11:03 +01:00
parent 695a0e1b6b
commit 10c370cc51

View file

@ -128,7 +128,7 @@ void FileTransferJob::transferFinished()
emitResult();
} else {
qCDebug(KDECONNECT_CORE) << "Received incomplete file, deleting";
qCDebug(KDECONNECT_CORE) << "Received incomplete file ("<< m_written << "/" << m_size << "bytes ), deleting";
if (m_destination.isLocalFile() && QFile::exists(m_destination.toLocalFile())) {
QFile::remove(m_destination.toLocalFile());