mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
Add debug logging for failed export and import
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user