Skip to content

Commit 90a8e72

Browse files
committed
Fixed an exception caused by Relay detection (#431)
1 parent b37f412 commit 90a8e72

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pluginGroup = com.intellij.lang.jsgraphql
77
pluginName = JS GraphQL
88
pluginVersion = 2.8.0
99
pluginSinceBuild = 192.7142
10-
pluginUntilBuild = 211.*
10+
pluginUntilBuild = 212.*
1111

1212
platformType = IU
1313
platformVersion = IU-LATEST-EAP-SNAPSHOT

src/main/com/intellij/lang/jsgraphql/frameworks/relay/GraphQLRelayModernEnableStartupActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import com.intellij.openapi.application.ApplicationManager;
1717
import com.intellij.openapi.application.ReadAction;
1818
import com.intellij.openapi.diagnostic.Logger;
19+
import com.intellij.openapi.progress.ProcessCanceledException;
1920
import com.intellij.openapi.progress.ProgressManager;
2021
import com.intellij.openapi.project.Project;
2122
import com.intellij.openapi.startup.StartupActivity;
@@ -75,6 +76,8 @@ public void runActivity(@NotNull Project project) {
7576
}
7677
}
7778
}
79+
} catch (ProcessCanceledException e) {
80+
throw e;
7881
} catch (Exception e) {
7982
LOG.error("Unable to detect Relay Modern", e);
8083
}

0 commit comments

Comments
 (0)