                                 games.append(game)
                             }
                         }
+                        Logger.Debug("Returned \(games.count) results")
                         completionHandler(games: games, error: nil)
                         return
                     }
                 }
+                Logger.Error("Could not parse response as JSON")
                 completionHandler(games: nil, error: .JSONError)
                 return
             }
             else {
+                Logger.Error("Could not request games with search term")
                 completionHandler(games: nil, error: .URLError)
                 return
             }

                                }
                            }
                        }
                        completionHandler(streams: streams, error: nil)
                        return
                    }
                }
                completionHandler(streams: nil, error: .JSONError)
                return
            }
            else {
                completionHandler(streams: nil, error: .URLError)
                return
            }

                                }
                            }
                        }
                        Logger.Debug("Returned \(streams.count) results")
                        completionHandler(streams: streams, error: nil)
                        return
                    }
                }
                Logger.Error("Could not parse response as JSON")
                completionHandler(streams: nil, error: .JSONError)
                return
            }
            else {
                Logger.Error("Could not request top streams")
                completionHandler(streams: nil, error: .URLError)
                return
            }
