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 isDbError()-guard does not work #12416

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

Conversation

abegehr
Copy link

@abegehr abegehr commented Nov 11, 2024

Fixes #12400

Changes

Testing

I tested in a separate project (here
option 3), since atm there is no example project with db configured

Docs

this is a bug fix, therefore no docs update needed

Copy link

changeset-bot bot commented Nov 11, 2024

🦋 Changeset detected

Latest commit: 356441c

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@bluwy bluwy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like there's other places where we also do a plain instanceof LibsqlError that may hit this issue, but that could be tackled separately.

packages/db/src/runtime/virtual.ts Outdated Show resolved Hide resolved
@abegehr abegehr requested a review from bluwy November 14, 2024 15:05
@abegehr abegehr requested a review from bluwy November 16, 2024 10:20
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.

isDbError() does not work
2 participants