forked from loafle/openapi-generator-original
Display an error when an API fails to parse.
This commit is contained in:
parent
7929dbfee1
commit
0b4fa11486
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user