mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Fixed error message on range parsing failed
This commit is contained in:
parent
6192a4fb17
commit
dd9e476353
|
@ -356,7 +356,7 @@ where typname = %s and ns.nspname = %s;
|
|||
|
||||
m = self._re_range.match(s)
|
||||
if m is None:
|
||||
raise InterfaceError("failed to parse range: %s")
|
||||
raise InterfaceError("failed to parse range: '%s'" % s)
|
||||
|
||||
lower = m.group(3)
|
||||
if lower is None:
|
||||
|
|
Loading…
Reference in New Issue
Block a user