Skip to content

Commit

Permalink
chore: cleanup 💄 indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiandoetsch committed Jan 30, 2024
1 parent 3b23851 commit 3d10088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/io/snyk/plugin/SnykPostStartupActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class SnykPostStartupActivity : ProjectActivity {
getSnykTaskQueueService(project)?.connectProjectToLanguageServer(project)
getAnalyticsScanListener(project)?.initScanListener()
} catch (e: Exception) {

Check warning

Code scanning / detekt

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

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
Logger.getInstance(SnykPostStartupActivity::class.java).error(e)
Logger.getInstance(SnykPostStartupActivity::class.java).error(e)
}
}

Expand Down

0 comments on commit 3d10088

Please sign in to comment.