mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-24 00:21:34 +00:00
Include exception in report, not only log it (EA-90231 - assert: ClsJavaStubByVirtualFileCache.createStub)
This commit is contained in:
@@ -51,13 +51,12 @@ class ClsJavaStubByVirtualFileCache {
|
||||
return ClsFileImpl.buildFileStub(file, file.contentsToByteArray())
|
||||
}
|
||||
catch (e: ClsFormatException) {
|
||||
LOG.debug(e)
|
||||
LOG.error("Failed to build java cls class for " + file.canonicalPath!!, e)
|
||||
}
|
||||
catch (e: IOException) {
|
||||
LOG.debug(e)
|
||||
LOG.error("Failed to build java cls class for " + file.canonicalPath!!, e)
|
||||
}
|
||||
|
||||
LOG.error("Failed to build java cls class for " + file.canonicalPath!!)
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user