Skip to content

PowerSync should log/throw an error for invalid query syntax #613

Closed
@kevinschaich

Description

@kevinschaich

I was debugging a query for about half an hour in PowerSync only to realize the query was not actually valid SQL.

Was trying to figure out why I was getting zero rows back but it was failing silently even with log level set to DEBUG. Upon pasting the same query into Supabase and running it I figured it out the issue and then copying that modified query back to PowerSync solved my issue.

It seems weird and bug-prone for PowerSync to not give me any indication that this query is failing against SQLite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions