diff options
author | Andrzej Bartosiński <neob91@gmail.com> | 2020-09-19 12:47:46 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-09-20 14:09:23 -0400 |
commit | c4f28fb414c342ba362fdee8a68bd169f01aa7d2 (patch) | |
tree | 09711543699fd5ae3c8bfed3ed5748e42b0ab2b8 /lib/sqlalchemy/dialects/postgresql/json.py | |
parent | 29575552b04f4d4e4f7373a8ddcaa2572046029e (diff) | |
download | sqlalchemy-c4f28fb414c342ba362fdee8a68bd169f01aa7d2.tar.gz |
Stringify correctly for non-str exception argument
Fixed issue where a non-string object sent to
:class:`_exc.SQLAlchemyError` or a subclass, as occurs with some third
party dialects, would fail to stringify correctly. Pull request
courtesy Andrzej Bartosiński.
Fixes: #5599
Closes: #5600
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5600
Pull-request-sha: cdccccc42a6ac8de771593a43ee8675bfd8dbeb6
Change-Id: Icd710d9015abc80f61a84893d75fbb33ee0fe46e
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/json.py')
0 files changed, 0 insertions, 0 deletions