Skip to content

Commit 94da0b6

Browse files
committed
The wrong userInfo is being passed here
1 parent 4af0422 commit 94da0b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Util/PBError.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ + (NSError *)pb_errorWithDescription:(NSString *)description failureReason:(NSSt
5353
[errorInfo addEntriesFromDictionary:@{ NSUnderlyingErrorKey: underError }];
5454
}
5555

56-
return [NSError errorWithDomain:PBGitXErrorDomain code:0 userInfo:userInfo];
56+
return [NSError errorWithDomain:PBGitXErrorDomain code:0 userInfo:errorInfo];
5757
}
5858

5959
@end

0 commit comments

Comments
 (0)