diff --git a/CHANGELOG.md b/CHANGELOG.md index fc65360..acb9da2 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ ## [Unreleased] +## [1.9.3] - 2024-07-15 + +- Disable unhandled exceptions logging + ## [1.9.2] - 2024-07-15 - Integrate Sentry @@ -97,6 +101,8 @@ The first public release of the plugin. +[1.9.3]: https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v1.9.3 + [1.9.2]: https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v1.9.2 [1.9.1]: https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v1.9.1 @@ -135,4 +141,4 @@ The first public release of the plugin. [1.0.0]: https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v1.0.0 -[Unreleased]: https://github.com/cycodehq/intellij-platform-plugin/compare/v1.9.2...HEAD +[Unreleased]: https://github.com/cycodehq/intellij-platform-plugin/compare/v1.9.3...HEAD diff --git a/gradle.properties b/gradle.properties index 8bd911a..6bddc82 100755 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ pluginGroup = com.cycode.plugin pluginName = Cycode pluginRepositoryUrl = https://github.com/cycodehq/intellij-platform-plugin # SemVer format -> https://semver.org -pluginVersion = 1.9.2 +pluginVersion = 1.9.3 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 211.1 diff --git a/src/main/kotlin/com/cycode/plugin/Consts.kt b/src/main/kotlin/com/cycode/plugin/Consts.kt index bdabb9c..f70adc8 100644 --- a/src/main/kotlin/com/cycode/plugin/Consts.kt +++ b/src/main/kotlin/com/cycode/plugin/Consts.kt @@ -42,5 +42,6 @@ class Consts { val SENTRY_RELEASE = getSentryReleaseVersion() const val SENTRY_SAMPLE_RATE = 1.0 const val SENTRY_SEND_DEFAULT_PII = false + const val SENTRY_ENABLE_UNCAUGHT_EXCEPTION_HANDLER = false } } diff --git a/src/main/kotlin/com/cycode/plugin/sentry/SentryInit.kt b/src/main/kotlin/com/cycode/plugin/sentry/SentryInit.kt index 4d5e29a..8de67a9 100644 --- a/src/main/kotlin/com/cycode/plugin/sentry/SentryInit.kt +++ b/src/main/kotlin/com/cycode/plugin/sentry/SentryInit.kt @@ -10,6 +10,7 @@ object SentryInit { options.dsn = Consts.SENTRY_DSN options.isDebug = Consts.SENTRY_DEBUG options.sampleRate = Consts.SENTRY_SAMPLE_RATE + options.isEnableUncaughtExceptionHandler = Consts.SENTRY_ENABLE_UNCAUGHT_EXCEPTION_HANDLER options.release = Consts.SENTRY_RELEASE options.isSendDefaultPii = Consts.SENTRY_SEND_DEFAULT_PII options.serverName = ""