Skip to content

IE: surface error when gateway connection drops mid-query#772

Merged
ecmel merged 2 commits into
devfrom
ee-errors
Jul 23, 2026
Merged

IE: surface error when gateway connection drops mid-query#772
ecmel merged 2 commits into
devfrom
ee-errors

Conversation

@ecmel

@ecmel ecmel commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Changes introduced by this PR

  • Fix: killing the Coordinator/Gateway mid-query left the extension hanging with no response and no Query History entry.
  • Add .catch() on the scratchpad request so failures resolve instead of rejecting uncaught, restoring normal error display and history logging.
  • Add extractInsightsRequestError() to produce readable messages for 500/502/dropped-socket failures.
  • Add unit tests covering these cases.

…hen coordinator/gateway connection drops mid-query
@ecmel ecmel self-assigned this Jul 20, 2026
@ecmel
ecmel requested a review from bjeffery-kx July 20, 2026 13:21
@kx-sonarqube

kx-sonarqube Bot commented Jul 20, 2026

Copy link
Copy Markdown

@ecmel
ecmel merged commit b85794a into dev Jul 23, 2026
8 checks passed
@ecmel
ecmel deleted the ee-errors branch July 23, 2026 07:31
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.

2 participants