Permalink
Browse files

More verbose json loader error messages on the console.

  • Loading branch information...
1 parent 7528d77 commit f26257ea90ea5f700914fcaa12f74a0c313571a2 @ddustin ddustin committed Sep 19, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 JsonLoaderInternal.m
View
2 JsonLoaderInternal.m
@@ -123,6 +123,8 @@ - (void)connectionDidFinishLoading:(NSURLConnection *)connection {
- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error {
+ NSLog(@"JsonLoaderError: %@", error.localizedDescription);
+
[self showError:[NSString stringWithFormat:@"Can't get internet.\n\n%@",
[error localizedDescription]] json:nil];

0 comments on commit f26257e

Please sign in to comment.