Skip to content

Commit

Permalink
fix: add balloon notifier for file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
acke committed Sep 20, 2024
1 parent 69e7c1e commit 2d00d29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/io/snyk/plugin/ui/jcef/ApplyFixHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ class ApplyFixHandler(private val project: Project) {
}
} else {
logger.error("[applyPatchAndSave] Failed to find document for: $filePath")
val errorMessage = "Failed to find document for: $filePath"
SnykBalloonNotificationHelper.showError(errorMessage, project)
return@runWriteCommandAction
}
}
Expand Down

0 comments on commit 2d00d29

Please sign in to comment.