Skip to content

Conversation

@suddendust
Copy link
Contributor

Description

This PR adds error logs when preparedStatement.execute fails for better observability.

Testing

Tested this locally.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.40%. Comparing base (1e7c791) to head (1ba27c3).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #255      +/-   ##
============================================
+ Coverage     80.39%   80.40%   +0.01%     
  Complexity     1256     1256              
============================================
  Files           227      227              
  Lines          5834     5839       +5     
  Branches        517      517              
============================================
+ Hits           4690     4695       +5     
  Misses          790      790              
  Partials        354      354              
Flag Coverage Δ
integration 80.40% <100.00%> (+0.01%) ⬆️
unit 57.68% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suddendust suddendust changed the title Log failed queries Log failed PG queries Dec 3, 2025
@suresh-prakash suresh-prakash merged commit bf7e428 into hypertrace:main Dec 3, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants