summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index d85278e..6d8c6f8 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -3762,7 +3762,14 @@ class CydiaLogCleaner :
if ((*item)->Status == pkgAcquire::Item::StatIdle)
continue;
+ std::string uri = (*item)->DescURI();
+ std::string error = (*item)->ErrorText;
+
+ lprintf("pAf:%s:%s\n", uri.c_str(), error.c_str());
failed = true;
+
+ CydiaProgressEvent *event([CydiaProgressEvent eventWithMessage:[NSString stringWithUTF8String:error.c_str()] ofType:kCydiaProgressEventTypeError]);
+ [delegate_ addProgressEventOnMainThread:event forTask:title];
}
[delegate_ performSelectorOnMainThread:@selector(releaseNetworkActivityIndicator) withObject:nil waitUntilDone:YES];