mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-80250 - ISE: GithubUtil.getErrorTextFromException
This commit is contained in:
committed by
Aleksey Pivovarov
parent
c55da8fdcb
commit
c4c9aaf86f
@@ -16,7 +16,6 @@
|
||||
package org.jetbrains.plugins.github.util;
|
||||
|
||||
import com.intellij.concurrency.JobScheduler;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.progress.ProgressIndicator;
|
||||
@@ -450,7 +449,7 @@ public class GithubUtil {
|
||||
if (e instanceof UnknownHostException) {
|
||||
return "Unknown host: " + e.getMessage();
|
||||
}
|
||||
return e.getMessage();
|
||||
return StringUtil.notNullize(e.getMessage(), "Unknown error");
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user