                                     "sig"               : sig])
                                 .responseString { response in
                                     if response.result.isSuccess {
-                                        let streams = M3UParser.parseToDict(response.result.value!)
-                                        completionHandler(streams: streams, error: nil)
-                                        return
+                                        if let streams = M3UParser.parseToDict(response.result.value!) {
+                                            Logger.Debug("Returned \(streams.count) results")
+                                            completionHandler(streams: streams, error: nil)
+                                            return
+                                        }
+                                        else {
+                                            //Error parsing the .m3u8
+                                            Logger.Error("Could not parse the .m3u8 file")
+                                            completionHandler(streams: nil, error: .OtherError("Parser error"))
+                                            return
+                                        }
+                                        
                                     }
                                     else {
-                                        //Error with the .m3u8
+                                        //Error retrieving the .m3u8
+                                        Logger.Error("Could not get the .m3u8 file")
                                         completionHandler(streams: nil, error: .URLError)
                                         return
                                     }

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

                                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 top games")
                completionHandler(games: nil, error: .URLError)
                return
            }
