Add debug logging for failed export and import

This commit is contained in:
uncor3
2026-04-19 17:07:16 +00:00
parent 0301c1b6a3
commit 2c060f2ac6
+6 -2
View File
@@ -452,8 +452,10 @@ void StatusBalloon::onItemExported(const QUuid &job_id,
auto item = m_processes[job_id]; auto item = m_processes[job_id];
if (success) if (success)
item->completedItems++; item->completedItems++;
else else {
item->failedItems++; item->failedItems++;
qDebug() << "Export of" << file_name << "failed:" << error_message;
}
handleJobUpdate(item); handleJobUpdate(item);
updateHeader(); updateHeader();
@@ -499,8 +501,10 @@ void StatusBalloon::onItemImported(const QUuid &job_id,
auto item = m_processes[job_id]; auto item = m_processes[job_id];
if (success) if (success)
item->completedItems++; item->completedItems++;
else else {
item->failedItems++; item->failedItems++;
qDebug() << "Import of" << file_name << "failed:" << error_message;
}
handleJobUpdate(item); handleJobUpdate(item);
updateHeader(); updateHeader();