Skip to content

Top Level Error Handling and User Notification Functions

Ecmel Ercan edited this page Jul 3, 2025 · 3 revisions

User visible notifications regarding query executions should be handled on the following functions. Call hierarchy below those functions should only use DEBUG level notifications.

workspaceCommand.runActiveEditor()

  • serverCommand.runQuery() (1)
    • serverCommand.executeQuery() (4)
    • dataSourceCommand.runDataSource() (4)
    • dataSourceCommand.populateScratchpad() (3)

notebookController.execute()

  • serverCommand.executeQuery()
  • dataSourceCommand.runDataSource()
  • dataSourceCommand.populateScratchpad()

dataSourceEditorProvider.webview.onDidReceiveMessage()

  • connectionManagerService.instance.refreshGetMeta()
  • dataSourceCommand.runDataSource()
  • dataSourceCommand.populateScratchpad()

serverCommand.rerunQuery()

  • serverCommand.executeQuery()
  • dataSourceCommand.runDataSource()

Clone this wiki locally