GroceryList
GroceryList copied to clipboard
Crashes when offline
2014-01-19 19:43:07.953 GroceryList[94402:1303] Unexpected JSON for error response: (null)
2014-01-19 19:43:07.954 GroceryList[94402:1303] *** Assertion failure in __54-[RACSignal(Operations) setKeyPath:onObject:nilValue:]_block_invoke542(), /Users/stevemoser/Code/iOS/Examples/GroceryList/External/OctoKit/External/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSignal+Operations.m:683
2014-01-19 19:43:07.955 GroceryList[94402:1303] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Received error from <RACDynamicSignal: 0x8f90380> name: [[[RACObserve(<GCYUserController: 0x8f86fe0>, client)] -ignore: (null)] -map:] -switchToLatest in binding for key path "repository" on <GCYGroceryListViewModel: 0x8f860d0>: Error Domain=OCTClientErrorDomain Code=668 "There was a problem connecting to the server." UserInfo=0x9189680 {OCTClientErrorHTTPStatusCodeKey=0, NSLocalizedDescription=There was a problem connecting to the server., OCTClientErrorRequestURLKey=https://api.github.com/repos/stevemoser/groceryWIki?per_page=100, NSUnderlyingError=0x8f9cda0 "The Internet connection appears to be offline."}''
Nice catch!