Skip to content

Commit 88632cc

Browse files
sfc-gh-stakedaankit-bhatnagar167
authored andcommitted
skip KeyError, TypeError for incident report
1 parent c542091 commit 88632cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cursor.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,13 @@ def execute(self, command, params=None, timeout=None,
466466
query = command
467467
processed_params = self._connection._process_params_qmarks(
468468
params, self)
469+
# Skip reporting Value and Type errors
470+
except KeyError:
471+
raise
469472
except ValueError:
470473
raise
474+
except TypeError:
475+
raise
471476
except Exception:
472477
self.connection.incident.report_incident()
473478
raise

0 commit comments

Comments
 (0)