enkoder
enkoder
CDCloudflare Developers
Created by elithrar on 2/13/2024 in #d1-database
Foreign keys · Cloudflare D1 docs
It worked!
4 replies
CDCloudflare Developers
Created by elithrar on 2/13/2024 in #d1-database
Foreign keys · Cloudflare D1 docs
OH! OK nice, I just wasn't ressing the value back to OFF which is why I was hitting the internal error.
4 replies
CDCloudflare Developers
Created by elithrar on 2/13/2024 in #d1-database
Foreign keys · Cloudflare D1 docs
workerd/util/symbolizer.c++:96: warning: Not symbolizing stack traces because $LLVM_SYMBOLIZER is not set. To symbolize stack traces, set $LLVM_SYMBOLIZER to the location of the llvm-symbolizer binary. When running tests under bazel, use `--test_env=LLVM_SYMBOLIZER=<path>`.
workerd/jsg/util.c++:281: error: e = workerd/util/sqlite.c++:909: failed: SQLite failed; msg = FOREIGN KEY constraint failed; sqlite3_step()
stack: 105488ddf 1050c92db 1050ce013 1050ce3c7 106c3833f 1050c839f 104d951cc; sentryErrorContext = jsgInternalError
┌─────────────────┬────────┐
│ name │ status │
├─────────────────┼────────┤
│ 0009_opt-in.sql │ ❌ │
└─────────────────┴────────┘

❌ Migration 0009_opt-in.sql failed with the following errors:

✘ [ERROR] internal error
workerd/util/symbolizer.c++:96: warning: Not symbolizing stack traces because $LLVM_SYMBOLIZER is not set. To symbolize stack traces, set $LLVM_SYMBOLIZER to the location of the llvm-symbolizer binary. When running tests under bazel, use `--test_env=LLVM_SYMBOLIZER=<path>`.
workerd/jsg/util.c++:281: error: e = workerd/util/sqlite.c++:909: failed: SQLite failed; msg = FOREIGN KEY constraint failed; sqlite3_step()
stack: 105488ddf 1050c92db 1050ce013 1050ce3c7 106c3833f 1050c839f 104d951cc; sentryErrorContext = jsgInternalError
┌─────────────────┬────────┐
│ name │ status │
├─────────────────┼────────┤
│ 0009_opt-in.sql │ ❌ │
└─────────────────┴────────┘

❌ Migration 0009_opt-in.sql failed with the following errors:

✘ [ERROR] internal error
4 replies
CDCloudflare Developers
Created by elithrar on 2/13/2024 in #d1-database
Foreign keys · Cloudflare D1 docs
Hey Matt, do I need to do anything in order to get defer_foreign_keys to work? I'm running "wrangler": "^3.28.4" and attempting to add PRAGMA defer_foreign_keys = true in my migration and I'm hitting an internal error.
4 replies
CDCloudflare Developers
Created by zhawtof on 12/23/2023 in #workers-help
Sentry for Handled Worker Exceptions
Happy to help! I'm still having some issues with source maps right now even though I'm uploading them. Check out my GH action in my repo if you'd like inspiration. Still haven't debugged what's going on
6 replies
CDCloudflare Developers
Created by zhawtof on 12/23/2023 in #workers-help
Sentry for Handled Worker Exceptions
As an example.
6 replies
CDCloudflare Developers
Created by zhawtof on 12/23/2023 in #workers-help
Sentry for Handled Worker Exceptions
6 replies
CDCloudflare Developers
Created by zhawtof on 12/23/2023 in #workers-help
Sentry for Handled Worker Exceptions
Check out toucan-js. It's super simple to add it to any worker. I pulled out the integration since I wanted more control over exceptions.
6 replies