Skip to content

Commit

Permalink
Fix Sentry reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahus1 committed Dec 27, 2023
1 parent 6985068 commit 13ecfb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This document provides a high-level view of the changes introduced by release.
=== 0.41.6

- Avoid deadlock when creating a new AsciiDoc file (#1502)
- Fix Sentry reporting

=== 0.41.5

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.intellij.notification.NotificationType;
import com.intellij.notification.Notifications;
import com.intellij.openapi.application.ApplicationInfo;
import com.intellij.openapi.application.impl.ApplicationInfoImpl;
import com.intellij.openapi.diagnostic.Attachment;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.diagnostic.SubmittedReportInfo;
Expand Down Expand Up @@ -96,7 +95,7 @@ public boolean isEnabled(@Nullable SentryLevel level) {
os.setName(SystemInfo.OS_NAME);
os.setVersion(SystemInfo.OS_VERSION + "-" + SystemInfo.OS_ARCH);

final ApplicationInfoImpl applicationInfo = (ApplicationInfoImpl) ApplicationInfo.getInstance();
final ApplicationInfo applicationInfo = ApplicationInfo.getInstance();
final SentryRuntime runtime = new SentryRuntime();
runtime.setName(applicationInfo.getBuild().getProductCode());

Expand Down

0 comments on commit 13ecfb3

Please sign in to comment.