summaryrefslogtreecommitdiff
path: root/oslo_db/locale
diff options
context:
space:
mode:
authorKevin Benton <kevin@benton.pub>2016-08-01 13:40:03 -0700
committerKevin Benton <kevin@benton.pub>2016-08-02 10:39:52 +0000
commit3277ef33f2a1f6a892f0832e2907acef7b45dc2b (patch)
tree1d7bdd0cd39752663c13dcaf20618ab7bfa42eb4 /oslo_db/locale
parentc5999fb2fa25bc3107ca75d7b5b6cb619118712e (diff)
downloadoslo-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