Print localizedFailureReason for autoUpdater errors
This is to help solve #1292.
This commit is contained in:
parent
a9301ea1d0
commit
1804466334
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,9 @@ void AutoUpdater::CheckForUpdates() {
|
|||
delegate->OnUpdateNotAvailable();
|
||||
}
|
||||
} error:^(NSError *error) {
|
||||
delegate->OnError(base::SysNSStringToUTF8(error.localizedDescription));
|
||||
delegate->OnError(base::SysNSStringToUTF8(
|
||||
[NSString stringWithFormat:@"%@: %@",
|
||||
error.localizedDescription, error.localizedFailureReason]));
|
||||
}];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue