Skip to content

Commit 913ece8

Browse files
SQL/ERR: raise error when insert failed with sqlite fallback (GH8341)
1 parent 977034a commit 913ece8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/io/sql.py

+1
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,7 @@ def run_transaction(self):
11551155
self.con.commit()
11561156
except:
11571157
self.con.rollback()
1158+
raise
11581159
finally:
11591160
cur.close()
11601161

0 commit comments

Comments
 (0)