mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-02 11:00:21 +02:00
Fix mac launcher not handling networking failures when requesting builds
This commit is contained in:
parent
322ba3ad55
commit
8642f2aaf8
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
NSLog(@"Latest Build Request Response: %ld", [ne statusCode]);
|
NSLog(@"Latest Build Request Response: %ld", [ne statusCode]);
|
||||||
Launcher* sharedLauncher = [Launcher sharedLauncher];
|
Launcher* sharedLauncher = [Launcher sharedLauncher];
|
||||||
|
|
||||||
if ([ne statusCode] == 500) {
|
if (error || [ne statusCode] == 500) {
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
[sharedLauncher displayErrorPage];
|
[sharedLauncher displayErrorPage];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue