Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(instrumentation-knex): Support better-sqlite3 errors #2650

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

deejay1
Copy link

@deejay1 deejay1 commented Jan 16, 2025

Which problem is this PR solving?

Resolves #2297

Short description of the changes

Make sure better-sqlite3 is supported by not assuming how the error constructor is set up. Adds test accordingly.

This is a rebase of #2298 by @AbhiPrasad with included review changes.

@deejay1 deejay1 requested a review from a team as a code owner January 16, 2025 11:53
@deejay1 deejay1 changed the title Knex sqlite3 v2 fix(instrumentation-knex): Support better-sqlite3 errors Jan 16, 2025
@github-actions github-actions bot added pkg:instrumentation-knex pkg-status:unmaintained This package is unmaintained. Only bugfixes may be acceped until a new owner has been found. labels Jan 16, 2025
@pichlermarc pichlermarc added the bug Something isn't working label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pkg:instrumentation-knex pkg-status:unmaintained This package is unmaintained. Only bugfixes may be acceped until a new owner has been found.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

instrumentation-knex doesn't handle errors raised by better-sqlite3
3 participants