Permalink
Browse files

Merge pull request #270 from flabrie/master

Allow publication task even if the Xcode reload AppleScript fails
  • Loading branch information...
2 parents ce32040 + 0f10c11 commit a60e74bd9e78e7eabfcc86efc8dba394b53580e0 @tomaz committed Nov 1, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 Generating/GBDocSetInstallGenerator.m
@@ -61,8 +61,7 @@ - (BOOL)generateOutputWithStore:(id)store error:(NSError **)error {
if (![script executeAndReturnError:&errorDict])
{
NSString *message = [errorDict objectForKey:NSAppleScriptErrorMessage];
- if (error) *error = [NSError errorWithCode:GBErrorDocSetXcodeReloadFailed description:@"Documentation set was installed, but couldn't reload documentation within Xcode." reason:message];
- return NO;
+ GBLogWarn(@"Warning: Documentation set was installed, but couldn't reload documentation within Xcode. %@", message)
}
return YES;
}

0 comments on commit a60e74b

Please sign in to comment.