mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-70287 Packages: Fix catch exception for Conda install
Signed-off-by: Nikita.Ashihmin <nikita.ashihmin@jetbrains.com> GitOrigin-RevId: 5027be2ad9a2c77ab3b999e196a44e9aa1e87e00
This commit is contained in:
committed by
intellij-monorepo-bot
parent
98190dd6dd
commit
b5f8f037ea
@@ -127,7 +127,7 @@ class CondaPackageManager(project: Project, sdk: Sdk) : PythonPackageManager(pro
|
||||
result.checkSuccess(thisLogger())
|
||||
if (result.isTimeout) throw PyExecutionException(message("conda.packaging.exception.timeout"), operation, arguments, result)
|
||||
if (result.exitCode != 0) {
|
||||
throw PyExecutionException(message("conda.packaging.exception.non.zero"), operation, arguments, result)
|
||||
throw PyExecutionException(message("conda.packaging.exception.non.zero"), env.fullCondaPathOnTarget, listOf(operation) + arguments, result)
|
||||
}
|
||||
else result.stdout
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user