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

Polling exits when encountering an error #528

Merged
merged 2 commits into from
Jun 28, 2021

Conversation

miketalley
Copy link
Contributor

Description and Context

Polling continues even when encountering an error

Screenshots

image

Who to Notify

@mattcoley @gcorne

@@ -63,6 +63,7 @@ const tailLogs = async ({
})
);
}
process.exit();
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we provide some feedback to the user that we have cancelled the polling?

Copy link
Contributor Author

@miketalley miketalley Jun 18, 2021

Choose a reason for hiding this comment

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

I added a logger.info message "Stopped polling due to error.", and the error should also be logged.

Copy link
Contributor

@brandenrodgers brandenrodgers left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@mattcoley
Copy link
Contributor

Any luck in merging this in? We got paged again for a similar issue.

@miketalley miketalley merged commit 3955c82 into master Jun 28, 2021
@miketalley miketalley deleted the hotfix/stop-polling-on-error branch June 28, 2021 17:37
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.

4 participants