prefix autoupdater error with statuscode and domain
This commit is contained in:
parent
2467d91f27
commit
1cfd20f861
2 changed files with 65 additions and 2 deletions
|
@ -104,8 +104,8 @@ void AutoUpdater::CheckForUpdates() {
|
|||
delegate->OnUpdateNotAvailable();
|
||||
}
|
||||
} error:^(NSError *error) {
|
||||
NSMutableString* failureString =
|
||||
[NSMutableString stringWithString:error.localizedDescription];
|
||||
NSMutableString *failureString =
|
||||
[[NSString stringWithFormat:@"%@:%@:%@", error.code, error.domain, error.localizedDescription] mutableCopy];
|
||||
if (error.localizedFailureReason) {
|
||||
[failureString appendString:@": "];
|
||||
[failureString appendString:error.localizedFailureReason];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue