Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #224 from koxudaxi/update_error_dialog_same_as_pipenv
Browse files Browse the repository at this point in the history
Update an error dialog to the same as  the dialog of pipenv
  • Loading branch information
koxudaxi committed May 16, 2021
2 parents 6d40cf8 + bb73385 commit b828bf2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion resources/META-INF/plugin.xml
@@ -1,9 +1,14 @@
<idea-plugin url="https://github.com/koxudaxi/poetry-pycharm-plugin" require-restart="true">
<id>com.koxudaxi.poetry</id>
<name>Poetry</name>
<version>1.1.3</version>
<version>1.1.4</version>
<vendor email="koaxudai@gmail.com">Koudai Aono @koxudaxi</vendor>
<change-notes><![CDATA[
<h2>version 1.1.4</h2>
<p>Bug fixes</p>
<ul>
<li>Update an error dialog to the same as the dialog of pipenv [#224]</li>
</ul>
<h2>version 1.1.3</h2>
<p>Bug fixes</p>
<ul>
Expand Down
4 changes: 1 addition & 3 deletions src/com/koxudaxi/poetry/poetry.kt
Expand Up @@ -601,9 +601,7 @@ fun runPoetryInBackground(module: Module, args: List<String>, description: Strin
runPoetry(sdk, *args.toTypedArray())
} catch (e: RunCanceledByUserException) {
} catch (e: ExecutionException) {
runInEdt {
Messages.showErrorDialog(project, e.toString(), CommonBundle.message("title.error"))
}
showSdkExecutionException(sdk, e, "Error Running Poetry")
} finally {
PythonSdkUtil.getSitePackagesDirectory(sdk)?.refresh(true, true)
sdk.associatedModuleDir?.refresh(true, false)
Expand Down

0 comments on commit b828bf2

Please sign in to comment.