Skip to content
Browse files

Allow publication task even if the Xcode reload AppleScript fails

Change the error level generated from the Xcode documentation reload
failure to a warning level to allow any publication task to be executed.
  • Loading branch information...
1 parent 6abd243 commit 0f10c11409fe9756642fc3d889caeb35b28fb687 @flabrie committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 Generating/GBDocSetInstallGenerator.m
View
3 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 0f10c11

Please sign in to comment.
Something went wrong with that request. Please try again.