Skip to content

Improve plugin error handling scenarios - #49

Closed
lventura-codacy wants to merge 1 commit into
masterfrom
improve-stability
Closed

lventura-codacy wants to merge 1 commit into
masterfrom
improve-stability

Improve plugin error handling scenarios

93ce795
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Mar 6, 2026 in 0s

4 new issues (1 max.) of at least medium severity.

Annotations

Check warning on line 66 in src/main/kotlin/com/codacy/intellij/plugin/listeners/StartupListener.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/kotlin/com/codacy/intellij/plugin/listeners/StartupListener.kt#L66

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 31 in src/main/kotlin/com/codacy/intellij/plugin/services/common/ConfigConfigurable.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/kotlin/com/codacy/intellij/plugin/services/common/ConfigConfigurable.kt#L31

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 94 in src/main/kotlin/com/codacy/intellij/plugin/services/git/PullRequest.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/kotlin/com/codacy/intellij/plugin/services/git/PullRequest.kt#L94

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 29 in src/main/kotlin/com/codacy/intellij/plugin/views/SarifExternalAnnotator.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/kotlin/com/codacy/intellij/plugin/views/SarifExternalAnnotator.kt#L29

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.