Skip to content

Commit 8ee1a36

Browse files
Update mssql_python/cursor.py
Co-authored-by: Gaurav Sharma <sharmag@microsoft.com>
1 parent 48ca73c commit 8ee1a36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mssql_python/cursor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,8 @@ def _buffer_intermediate_results(self):
14911491
# If we can't advance further, stop
14921492
break
14931493

1494-
except Exception:
1494+
except Exception as e:
1495+
log('warning', "Exception occurred during `_buffer_intermediate_results` %s", e)
14951496
# If anything goes wrong during buffering, continue with current state
14961497
# This ensures we don't break existing functionality
14971498
pass

0 commit comments

Comments
 (0)