Skip to content

Commit 0207db8

Browse files
committed
use another exception
1 parent 500f195 commit 0207db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/github/xepozz/crontab/ide/documentation/CrontabDocumentationProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class CrontabDocumentationProvider : DocumentationProvider {
125125
try {
126126
QuickDocHighlightingHelper.getStyledCodeBlock(project, ShLanguage.INSTANCE, command.text)
127127
.apply { append(this) }
128-
} catch (_: Exception) {
128+
} catch (_: ClassNotFoundException) {
129129
append("<pre><code>${command.text}</code></pre>")
130130
}
131131
}

0 commit comments

Comments
 (0)