]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Exception messages have been spiffed up a bit. The SQL statement
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Oct 2014 23:37:45 +0000 (19:37 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Oct 2014 23:37:45 +0000 (19:37 -0400)
commit6f40eb37cbdcdae032d73c3537df1e01d2e9e67c
tree663eddd7294ff70818d3d789d411616f5924754c
parent2924f8685c1d9f25820aa154691afe2d2de645f4
- Exception messages have been spiffed up a bit.  The SQL statement
and parameters are not displayed if None, reducing confusion for
error messages that weren't related to a statement.  The full
module and classname for the DBAPI-level exception is displayed,
making it clear that this is a wrapped DBAPI exception.  The
statement and parameters themselves are bounded within a bracketed
sections to better isolate them from the error message and from
each other.
fixes #3172
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/exc.py
test/base/test_except.py
test/engine/test_execute.py
test/engine/test_logging.py
test/sql/test_query.py