Skip to content

Commit

Permalink
Clarify messaging for column not found
Browse files Browse the repository at this point in the history
- Because this is prefixed in the "detail" field output with "Failed to parse RQL - " then saying "missing" makes it seem like RQL had some problem.  It's better to say "not found" instead of "missing".
  • Loading branch information
thadguidry authored Dec 14, 2024
1 parent 421cf44 commit e5bd670
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class InvalidColumnException extends RuntimeException {

public InvalidColumnException(String tableName, String columnName) {
super("Missing column " + tableName + "." + columnName);
super("Column not found " + tableName + "." + columnName);
}

}

0 comments on commit e5bd670

Please sign in to comment.