[artifacts] show ID of custom property provider in "Unknown artifact properties" error (IDEA-330402)

GitOrigin-RevId: e7400827ee52f5f27cb2502278cab29afae59eb5
This commit is contained in:
Nikolay Chashnikov
2023-08-22 08:35:21 +02:00
committed by intellij-monorepo-bot
parent f71381a8e1
commit fe5ba7eff9

View File

@@ -60,7 +60,7 @@ internal fun createArtifactBridge(it: ArtifactEntity, entityStorage: VersionedEn
val unknownProperty = it.customProperties.firstOrNull { ArtifactPropertiesProvider.findById(it.providerType) == null }
if (unknownProperty != null) {
return createInvalidArtifact(it, entityStorage, project,
JavaCompilerBundle.message("unknown.artifact.properties.0", unknownProperty))
JavaCompilerBundle.message("unknown.artifact.properties.0", unknownProperty.providerType))
}
return ArtifactBridge(it.symbolicId, entityStorage, project, null, null)