Merge pull request #47 from leedm777/parse-failures

Display an error when an API fails to parse.
This commit is contained in:
Tony Tam 2013-04-03 13:26:59 -07:00
commit 69d4c2a27b

View File

@ -47,7 +47,11 @@ object ApiExtractor extends RemoteUrl {
println("WARNING! Unable to read API " + basePath + api.path) println("WARNING! Unable to read API " + basePath + api.path)
None None
} }
case _ : Throwable=> None case e: Throwable => {
println("WARNING! Unable to read API " + basePath + api.path)
e.printStackTrace()
None
}
} }
}).flatten.toList }).flatten.toList
} }