Include exception in report, not only log it (EA-90231 - assert: ClsJavaStubByVirtualFileCache.createStub)

This commit is contained in:
Dmitry Jemerov
2016-11-21 19:22:39 +01:00
parent 58d725dac0
commit ebbbe1b801

View File

@@ -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
}