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

[D1]: Error.cause be gone #9298

Merged
merged 3 commits into from
Jun 27, 2023
Merged

[D1]: Error.cause be gone #9298

merged 3 commits into from
Jun 27, 2023

Conversation

elithrar
Copy link
Collaborator

@elithrar elithrar commented Jun 8, 2023

Blocked until cloudflare/workers-sdk#3416 is merged.

  • As of wrangler 3.1.1 the top-level Error property will now include the detailed error message.
  • Although Error.cause is standardized & in the D1 docs, too many developers were caught out.
  • We'll stop populating both fields once the D1 shim is removed / in future versions of wrangler.

@elithrar elithrar added the product:d1 D1: https://developers.cloudflare.com/d1/ label Jun 8, 2023
@elithrar elithrar requested a review from rozenmd June 8, 2023 20:43
@elithrar elithrar self-assigned this Jun 8, 2023
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jun 8, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: dd31136
Status: ✅  Deploy successful!
Preview URL: https://25c0c51b.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://silverlock-d1-errors-cause.cloudflare-docs-7ou.pages.dev

View logs

content/d1/changelog.md Outdated Show resolved Hide resolved
@Maddy-Cloudflare Maddy-Cloudflare changed the title d1: error.cause be gone [D1]: Error.cause be gone Jun 27, 2023
Co-authored-by: Maddy <130055405+Maddy-Cloudflare@users.noreply.github.com>
content/d1/changelog.md Outdated Show resolved Hide resolved
@elithrar elithrar merged commit 24d86c3 into production Jun 27, 2023
@elithrar elithrar deleted the silverlock/d1/errors-cause branch June 27, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:d1 D1: https://developers.cloudflare.com/d1/ size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants