Skip to content

Improve error message for "Sync not yet implemented" #174

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

Open
notrab opened this issue Mar 24, 2025 · 0 comments
Open

Improve error message for "Sync not yet implemented" #174

notrab opened this issue Mar 24, 2025 · 0 comments

Comments

@notrab
Copy link
Member

notrab commented Mar 24, 2025

When attempting to use offline writes with sqld, the following error is returned:

Syncing database ...
thread '<unnamed>' panicked at src/errors.rs:22:13:
not yet implemented: err = Sync(PullFrame(404, ""))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    47439 abort      node index.mjs

You can somewhat decipher with the "not yet implemented" error that this isn't using a version of turso-server, because we know it's implemented but it wasn't immediately clear. We can do provide a better message here.

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

No branches or pull requests

1 participant