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() for remote errors #11027

Merged
merged 7 commits into from
May 13, 2024
Merged

Fix isDbError() for remote errors #11027

merged 7 commits into from
May 13, 2024

Conversation

bholmesdev
Copy link
Contributor

@bholmesdev bholmesdev commented May 13, 2024

Changes

Resolves #10809

resolves #10810

Ensures isDbError() works with remote database errors. Now inherits from LibsqlError instead of AstroError to ensure dev and prod behave the same. Additional details provided with a DetailedLibsqlError object because we can intercept and improve prod errors.

Testing

Update error handling test to use remote adapter

Docs

N/A

Copy link

changeset-bot bot commented May 13, 2024

🦋 Changeset detected

Latest commit: 40d7f3a

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

@matthewp
Copy link
Contributor

@bholmesdev needs a changeset.

@bholmesdev bholmesdev merged commit eb1d9a4 into main May 13, 2024
13 checks passed
@bholmesdev bholmesdev deleted the fix/astro-db-remote-error branch May 13, 2024 16:20
@astrobot-houston astrobot-houston mentioned this pull request May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants