diff --git a/python/services/system-python/src/com/intellij/python/community/services/systemPython/impl/providers/AsdfSystemProvider.kt b/python/services/system-python/src/com/intellij/python/community/services/systemPython/impl/providers/AsdfSystemProvider.kt index 456b68d2ef46..ba6b4e5cf6e9 100644 --- a/python/services/system-python/src/com/intellij/python/community/services/systemPython/impl/providers/AsdfSystemProvider.kt +++ b/python/services/system-python/src/com/intellij/python/community/services/systemPython/impl/providers/AsdfSystemProvider.kt @@ -6,9 +6,9 @@ import com.intellij.platform.eel.EelApi import com.intellij.platform.eel.getOrNull import com.intellij.platform.eel.path.EelPath import com.intellij.platform.eel.provider.asNioPath -import com.jetbrains.python.PyToolUIInfo -import com.intellij.python.community.services.systemPython.icons.PythonCommunityServicesSystemPythonIcons import com.intellij.python.community.services.systemPython.SystemPythonProvider +import com.intellij.python.community.services.systemPython.icons.PythonCommunityServicesSystemPythonIcons +import com.jetbrains.python.PyToolUIInfo import com.jetbrains.python.PythonBinary import com.jetbrains.python.errorProcessing.PyResult import kotlinx.coroutines.Dispatchers @@ -47,6 +47,7 @@ private class AsdfSystemPythonProvider : SystemPythonProvider { return@withContext collectPythonsInPaths(eelApi, paths, listOf(python3NamePattern)) } catch (e: RuntimeException) { + if (Logger.shouldRethrow(e)) throw e LOGGER.error("failed to discover asdf pythons", e) }