-
Notifications
You must be signed in to change notification settings - Fork 154
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
Gracefully handle analytics failing to send (patrol_cli) #2509
Conversation
To view this pull requests documentation preview, visit the following URL: docs.page/leancodepl/patrol~2509 Documentation is deployed and generated using docs.page. |
a51698e
to
7b43be8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexandradeas thanks for contribution! You're right, this should be done like that from the begging. Please change the changelog, and than we can merge this.
packages/patrol_cli/CHANGELOG.md
Outdated
## 3.5.1 | ||
- Gracefully handle when analytics fail to send (#2460) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change version to Unreleased
and add empty line between (for formatting purposes)
## 3.5.1 | |
- Gracefully handle when analytics fail to send (#2460) | |
## Unreleased | |
- Gracefully handle when analytics fail to send. (#2460) |
my bad for not reading the instructions properly, updated that now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks again for contribution @alexandradeas |
Handle exceptions raised when analytics fail to be sent.
This is related to #2460 where I ran into the same due to a DNS block on the domain - which I'd expect to be common in CI environments where egress is tightly controlled. As analytics aren't an essential part of the CLI, my rationale is that if the call fails it should not halt execution