diff options
author | Kevin Benton <kevin@benton.pub> | 2016-08-01 13:40:03 -0700 |
---|---|---|
committer | Kevin Benton <kevin@benton.pub> | 2016-08-02 10:39:52 +0000 |
commit | 3277ef33f2a1f6a892f0832e2907acef7b45dc2b (patch) | |
tree | 1d7bdd0cd39752663c13dcaf20618ab7bfa42eb4 /oslo_db/locale | |
parent | c5999fb2fa25bc3107ca75d7b5b6cb619118712e (diff) | |
download | oslo-db-4.10.0.tar.gz |
Capture DatabaseError for deadlock check4.10.0
Pymysql can raise 'lock wait timeout exceeded' errors
as InternalErrors. The previous filter was only catching
OperationalError exceptions. This patch changes it to
catch all DatabaseErrors, which both of the aforementioned
exceptions inherit.
Change-Id: If7bd1ceef6e5d64f0766b780616388c62862ce82
Closes-Bug: #1608691
Diffstat (limited to 'oslo_db/locale')
0 files changed, 0 insertions, 0 deletions