Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture support script timeouts #1923

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Conversation

joshk
Copy link
Collaborator

@joshk joshk commented Feb 26, 2025

Timeouts are to be expected and shouldn't raise an error in Sentry.

This also adds a friendlier message to the UI

Screenshot 2025-02-26 at 2 32 31 PM

I also increased the gap between items.

Timeouts are to be expected and shouldn't raise an error in Sentry.

This also adds a nicer message to the UI
@joshk joshk requested review from lawik, nshoes and elinol February 26, 2025 01:35
Copy link
Contributor

@lawik lawik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it :)

@joshk joshk merged commit 6f17fa6 into main Feb 26, 2025
2 checks passed
@joshk joshk deleted the capture-support-script-timeouts branch February 26, 2025 07:24
jjcarstens added a commit that referenced this pull request Mar 3, 2025
#1923 introduced a change to
handle when scripts timeout waiting for data back. However, it missed adjusting
for the change in `NervesHubWeb.API.ScriptController` so using the API
is broken.

This fixes to match that new return value and adds a `504` response if
it times out waiting for the script reply
jjcarstens added a commit that referenced this pull request Mar 3, 2025
#1923 introduced a
change to handle when scripts timeout waiting for data back. However, it
missed adjusting for the change in `NervesHubWeb.API.ScriptController`
so using the API is broken.

This fixes to match that new return value and adds a `504` response if
it times out waiting for the script reply.
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