Skip to content

Commit

Permalink
remove the word "type" from error message, as enum out-of-range errors (
Browse files Browse the repository at this point in the history
#3449)

have nothing to do with types.
  • Loading branch information
Omer Lachish authored and arikfr committed Feb 17, 2019
1 parent 58a53e3 commit a8f74a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/utils/parameterized_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,5 @@ def text(self):

class InvalidParameterError(Exception):
def __init__(self, parameters):
message = u"The following parameter values are incompatible with their type definitions: {}".format(", ".join(parameters))
message = u"The following parameter values are incompatible with their definitions: {}".format(", ".join(parameters))
super(InvalidParameterError, self).__init__(message)

0 comments on commit a8f74a1

Please sign in to comment.