Commit ceabb3ea authored by Jonathan Thomas's avatar Jonathan Thomas
Browse files

Properly report errors that occur during ListUpdate that aren't reported when...

Properly report errors that occur during ListUpdate that aren't reported when any particular item fails

BUG:315155
FIXED-IN:1.9.95
parent 08d2f40e
......@@ -306,6 +306,11 @@ void AptWorker::updateCache()
if (!ListUpdate(*acquire, *m_cache->GetSourceList())) {
if (!m_trans->isCancelled()) {
m_trans->setError(QApt::FetchError);
string message;
while(_error->PopMessage(message))
m_trans->setErrorDetails(m_trans->errorDetails() +
QString::fromStdString(message));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment