Skip to content

Commit

Permalink
Add todo about creating proper error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
hegyibalint committed Sep 18, 2024
1 parent b3fc0ab commit c99d58f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class SyntaxErrorToDiagnosticVisitor : DocumentVisitor() {

is UnsupportedSyntax -> Diagnostic(
nodeSourceData.toLspRange(),
// TODO: Make a proper error message
error.cause.toString(),
DiagnosticSeverity.Error,
"Gradle Declarative DSL"
Expand Down

0 comments on commit c99d58f

Please sign in to comment.