mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Report plugin errors in tests.
Since `6b4a26e67ff25da119016632d38d6de1b510b316` no plugin error logged in test log which complicates debugging. GitOrigin-RevId: 66a9a4504d71376ddbcb5924db65c6223a177b21
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bb04f01b3c
commit
9cb2e202b5
@@ -315,6 +315,8 @@ object PluginManagerCore {
|
||||
if (isUnitTestMode || !GraphicsEnvironment.isHeadless()) {
|
||||
if (!isUnitTestMode) {
|
||||
logger.warn(logMessage)
|
||||
}else{
|
||||
logger.info(logMessage)
|
||||
}
|
||||
@Suppress("HardCodedStringLiteral")
|
||||
return (globalErrorsSuppliers.asSequence() + loadingErrors.asSequence().filter(PluginLoadingError::isNotifyUser).map(PluginLoadingError::detailedMessageSupplier))
|
||||
|
||||
Reference in New Issue
Block a user