Commit 85269e2
fix: use contextlib.suppress for ROLLBACK error in transaction()
Replaces try/except/pass with contextlib.suppress(Exception),
matching the pattern already used in pool.py.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5746435 commit 85269e2
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
214 | | - | |
| 215 | + | |
| 216 | + | |
215 | 217 | | |
216 | | - | |
217 | | - | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
0 commit comments