[FIR] Prevent duplicate FileAnalysisException-s
This commit is contained in:
committed by
Space Team
parent
f3231b2aa9
commit
efbcfb4994
@@ -56,6 +56,7 @@ fun Throwable.wrapIntoFileAnalysisExceptionIfNeeded(
|
||||
else -> FileAnalysisException(filePath, cause, linesMapping(source.startOffset))
|
||||
}
|
||||
this is IndexNotReadyException -> this
|
||||
this is FileAnalysisException -> this
|
||||
this is ControlFlowException -> this
|
||||
this is VirtualMachineError -> this
|
||||
else -> FileAnalysisException(filePath, this)
|
||||
|
||||
Reference in New Issue
Block a user