Skip to content

Log stream execution errors server-side#246

Open
jamesbroadhead wants to merge 1 commit intodatabricks:mainfrom
jamesbroadhead:fix/log-query-errors-server-side
Open

Log stream execution errors server-side#246
jamesbroadhead wants to merge 1 commit intodatabricks:mainfrom
jamesbroadhead:fix/log-query-errors-server-side

Conversation

@jamesbroadhead
Copy link
Copy Markdown

Summary

  • Query execution errors were only sent to the browser via SSE but never logged server-side
  • This made runtime query failures invisible in databricks apps logs, hindering debugging and monitoring
  • Adds logger.error() in the StreamManager catch block so errors appear in application logs

Test plan

  • Trigger a query error (e.g. invalid warehouse config)
  • Verify the error appears in databricks apps logs
  • Verify the error is still sent to the browser via SSE as before

Fixes #243

Query execution errors were only sent to the browser via SSE but never
logged server-side, making them invisible in `databricks apps logs`.
Add logger.error() call in the StreamManager catch block so errors
appear in application logs for debugging and monitoring.

Fixes databricks#243
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

Successfully merging this pull request may close these issues.

Runtime query errors not logged server-side

1 participant