Revision 3635
Added by Aaron Marcuse-Kubitza over 12 years ago
sql.py | ||
---|---|---|
540 | 540 |
raise CheckException(constraint.to_str(db), cond, [], e) |
541 | 541 |
|
542 | 542 |
match = re.match(r'^(?:invalid input (?:syntax|value)\b.*?' |
543 |
r'|.+? field value out of range): "(.+?)"', msg)
|
|
543 |
r'|.+? out of range): "(.+?)"', msg) |
|
544 | 544 |
if match: |
545 | 545 |
value, = match.groups() |
546 | 546 |
raise InvalidValueException(strings.to_unicode(value), e) |
Also available in: Unified diff
sql.py: run_query(): InvalidValueException: Parse any exception ending in "out of range", not just "field value out of range", in order to support errors that the timezone is out of range