mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Some error reason is better than no reason
This commit is contained in:
1 parent
7bc7a90a09
commit
dd1bda5066
1 file changed
+2
-2
Vendored
+2
-2
@@ -333,8 +333,8 @@
|
||||
}
|
||||
|
||||
if (!success) {
|
||||
#warning this is bad
|
||||
[self unarchiverDidFail:nil];
|
||||
NSError *reason = [NSError errorWithDomain:SUSparkleErrorDomain code:SUUnarchivingError userInfo:@{NSLocalizedDescriptionKey: @"Failed to extract update."}];
|
||||
[self unarchiverDidFail:reason];
|
||||
} else {
|
||||
[unarchiver unarchiveWithCompletionBlock:^(NSError *err){
|
||||
if (err) {
|
||||
|
||||
Reference in new issue
Block a user