We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c2da06 commit cec4600Copy full SHA for cec4600
Classes/Views/PBGitXMessageSheet.m
@@ -80,6 +80,8 @@ + (void)beginSheetWithError:(NSError *)error
80
NSError *taskError = error.userInfo[NSUnderlyingErrorKey];
81
if (taskError && taskError.domain == PBTaskErrorDomain) {
82
[messageParts addObject:NSLocalizedString(@"The underlying task failed:", @"PBGitXMessageSheet - task failed header")];
83
+ [messageParts addObject:taskError.localizedDescription];
84
+ [messageParts addObject:taskError.localizedFailureReason];
85
if (taskError.code == PBTaskNonZeroExitCodeError) {
86
NSString *message = NSLocalizedString(@"Return code: %@", @"PBGitXMessageSheet - task return code header");
87
message = [NSString stringWithFormat:message, taskError.userInfo[PBTaskTerminationStatusKey]];
0 commit comments