From 56746fb21f6bbf93fe96f4e3908040111439c9c3 Mon Sep 17 00:00:00 2001 From: François Freitag Date: Tue, 18 Apr 2017 11:15:42 -0700 Subject: [1.11.x] Fixed #28091 -- Re-raised original exception when closing cursor cleanup fails --- docs/releases/1.11.1.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.11.1.txt b/docs/releases/1.11.1.txt index 1f475ee736..e2f49a3c03 100644 --- a/docs/releases/1.11.1.txt +++ b/docs/releases/1.11.1.txt @@ -42,3 +42,7 @@ Bugfixes ``ModelAdmin.radio_fields`` with ``admin.HORIZONTAL`` (:ticket:`28059`). * Fixed crash in ``BaseGeometryWidget.subwidgets()`` (:ticket:`28039`). + +* Re-raised the original exception when ``cursor.execute()`` fails and the + cleanup code ``cursor.close()`` fails as well, instead of raising the cleanup + code failure (:ticket:28091). -- cgit v1.3