Skip to content

Encountered an unexpected error #327

Open
@Marvosg

Description

@Marvosg

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Got a message popup to check my output because the tools crashed. This was in the output:

Encountered an unexpected error

This is a bug in Postgres Tools, not an error in your code, and we would appreciate it if you could report it along with the following information to help us fixing the issue:

Source Location: crates\pgt_workspace\src\workspace\server\change.rs:130:14
Thread Name: tokio-runtime-worker
Message: called `Result::unwrap_err()` on an `Ok` value: 1

(There could also be a link to the issues page of this project. I was unsure where to post the report)

To Reproduce

I was uncommenting some selected SQL with the VSCode Toggle Block Comment (editor.action.blockComment) action.

Expected behavior

No crash.

System information

  • OS: Windows

Additional context

server.log.2025-04-10-10.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions