Skip to content

Raw upstream error messages returned to the client #304

Closed

Description

@lfrancke

File: src/lib/server/trino/queries.ts:176

Trino error messages are stored verbatim in query.error and surfaced through buildSnapshot.error to the client. Trino errors may expose schema details, table names, or internal query plans. These should be classified (query error vs. infrastructure error) and sanitised before being surfaced to users.

Metadata

Metadata

Assignees

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