diff --git a/ObjectiveGit/Categories/NSError+Git.m b/ObjectiveGit/Categories/NSError+Git.m index e66d2fcb3..e9c913a46 100644 --- a/ObjectiveGit/Categories/NSError+Git.m +++ b/ObjectiveGit/Categories/NSError+Git.m @@ -63,7 +63,10 @@ + (NSError *)git_errorFor:(int)code description:(NSString *)desc failureReason:( } NSError *underError = [self git_errorFor:code]; - if (underError != nil) userInfo[NSUnderlyingErrorKey] = underError; + if (underError != nil) { + userInfo[NSUnderlyingErrorKey] = underError; + userInfo[NSLocalizedRecoverySuggestionErrorKey] = [underError localizedDescription]; + } return [NSError errorWithDomain:GTGitErrorDomain code:code userInfo:userInfo]; }