Skip to content

Commit

Permalink
MAT-7995 change to contains
Browse files Browse the repository at this point in the history
  • Loading branch information
sb-cecilialiu committed Dec 18, 2024
1 parent 0852de3 commit e0e26c6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ private List<CqlCompilerException> filterOutCustomErrors(
return filteredCqlTranslatorExceptions.stream()
.filter(
cqlCompilerException ->
!"no viable alternative at input 'define :'"
.equalsIgnoreCase(cqlCompilerException.getMessage()))
!cqlCompilerException
.getMessage()
.contains("no viable alternative at input 'define"))
.toList();
}
}

0 comments on commit e0e26c6

Please sign in to comment.