Include exception in report, not only log it (EA-90231 - assert: ClsJavaStubByVirtualFileCache.createStub)
This commit is contained in:
+2
-3
@@ -51,13 +51,12 @@ class ClsJavaStubByVirtualFileCache {
|
|||||||
return ClsFileImpl.buildFileStub(file, file.contentsToByteArray())
|
return ClsFileImpl.buildFileStub(file, file.contentsToByteArray())
|
||||||
}
|
}
|
||||||
catch (e: ClsFormatException) {
|
catch (e: ClsFormatException) {
|
||||||
LOG.debug(e)
|
LOG.error("Failed to build java cls class for " + file.canonicalPath!!, e)
|
||||||
}
|
}
|
||||||
catch (e: IOException) {
|
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
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user