Display an error when an API fails to parse.

This commit is contained in:
David M. Lee 2013-04-03 13:54:11 -05:00
parent 7929dbfee1
commit 0b4fa11486

View File

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