Fix mac launcher not handling networking failures when requesting builds

This commit is contained in:
Ryan Huffman 2019-08-15 16:20:18 -07:00
parent 322ba3ad55
commit 8642f2aaf8

View file

@ -27,7 +27,7 @@
NSLog(@"Latest Build Request Response: %ld", [ne statusCode]);
Launcher* sharedLauncher = [Launcher sharedLauncher];
if ([ne statusCode] == 500) {
if (error || [ne statusCode] == 500) {
dispatch_async(dispatch_get_main_queue(), ^{
[sharedLauncher displayErrorPage];
});