according to Peter, getting a PCE from indexes is a valid situation, don't log this as an error (EA-73265 - assert: KotlinCopyPasteReferenceProcessor.collectTransferableData)
This commit is contained in:
@@ -106,7 +106,7 @@ public class KotlinCopyPasteReferenceProcessor() : CopyPastePostProcessor<Kotlin
|
|||||||
catch (e: ProcessCanceledException) {
|
catch (e: ProcessCanceledException) {
|
||||||
// supposedly analysis can only be canceled from another thread
|
// supposedly analysis can only be canceled from another thread
|
||||||
// do not log ProcessCanceledException as it is rethrown by IdeaLogger and code won't be copied
|
// do not log ProcessCanceledException as it is rethrown by IdeaLogger and code won't be copied
|
||||||
LOG.error("ProcessCanceledException while analyzing references in ${file.getName()}. References can't be processed.")
|
LOG.debug("ProcessCanceledException while analyzing references in ${file.getName()}. References can't be processed.")
|
||||||
return listOf()
|
return listOf()
|
||||||
}
|
}
|
||||||
catch (e: Throwable) {
|
catch (e: Throwable) {
|
||||||
|
|||||||
Reference in New Issue
Block a user