Skip to content

Runtime query errors not logged server-side #243

@jamesbroadhead

Description

@jamesbroadhead

Summary

When an analytics query fails at runtime, the error is returned to the browser via SSE but no log entry appears in databricks apps logs. This makes runtime query failures invisible to anyone not looking at the browser console.

Reproduction

  1. Deploy an app with an incompatible warehouse (or any configuration that causes SQL errors)
  2. Open the app in a browser — error shown in UI
  3. Run databricks apps logs <app> --tail-lines 200 — the error does NOT appear

Expected behavior

[APP] [appkit:analytics] Query "revenue_by_destination" failed: INVALID_PARAMETER_VALUE — Inline disposition only supports ARROW_STREAM format (warehouse=000000000000000d)

Why this matters

  • AI agents building/debugging apps can only access databricks apps logs — they cannot see browser errors
  • Operators monitoring via logs/alerting miss query failures entirely
  • The error message is helpful but only visible to the end user in the browser

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