mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 14:16:36 +02:00
fix errors
This commit is contained in:
parent
77a49cb04b
commit
fc1f7615f4
2 changed files with 6 additions and 2 deletions
|
@ -54,7 +54,9 @@
|
|||
|
||||
-(void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error {
|
||||
NSLog(@"completed; error: %@", error);
|
||||
[[Launcher sharedLauncher] displayErrorPage];
|
||||
if (error) {
|
||||
[[Launcher sharedLauncher] displayErrorPage];
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -66,7 +66,9 @@
|
|||
|
||||
-(void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error {
|
||||
NSLog(@"completed; error: %@", error);
|
||||
[[Launcher sharedLauncher] displayErrorPage];
|
||||
if (error) {
|
||||
[[Launcher sharedLauncher] displayErrorPage];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue