diff --git a/Sparkle/SUBasicUpdateDriver.m b/Sparkle/SUBasicUpdateDriver.m index 8b22cf33..3b568e73 100644 --- a/Sparkle/SUBasicUpdateDriver.m +++ b/Sparkle/SUBasicUpdateDriver.m @@ -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) {