Skip to content

Commit a7ea8e6

Browse files
committed
Error reporter privacy note
1 parent 6624508 commit a7ea8e6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/main/com/intellij/lang/jsgraphql/ide/diagnostic/GraphQLSentryErrorReporter.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,24 @@ public class GraphQLSentryErrorReporter extends ErrorReportSubmitter {
2525
return GraphQLBundle.message("graphql.report.to.sentry");
2626
}
2727

28+
@Override
29+
public @Nullable String getPrivacyNoticeText() {
30+
return "By clicking on the '" + getReportActionText() + "' button you agree that " +
31+
"the following will be sent along with the error message: " +
32+
"IDE version, " +
33+
"IDE name, " +
34+
"OS version, " +
35+
"plugin version, " +
36+
"date when the event occurred, " +
37+
"error log and other data that the IDE passes to the error handler.<br>" +
38+
"This data will only be used for debugging and bug fixing.<br>" +
39+
"<br>" +
40+
"<b>Attention!</b> Carefully study the transmitted data. Do not " +
41+
"click the report button if the error log or other data contains " +
42+
"personal information or other information that you do not want " +
43+
"to share.";
44+
}
45+
2846
@Override
2947
public boolean submit(IdeaLoggingEvent @NotNull [] events,
3048
@Nullable String additionalInfo,

0 commit comments

Comments
 (0)