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

Error return in failed probe #889

Closed

Conversation

rewolff
Copy link
Contributor

@rewolff rewolff commented Mar 21, 2020

playing around with my recent/ patched sources I found that some errors were treated as "warning". Turns out a lot of "ret=-1" were missing. Someone incompletely changed the code. I took the easy way out and added an if where it belonged and changed the on_error label to always return error.

@Nightwalker-87 Nightwalker-87 self-requested a review March 21, 2020 16:41
@Nightwalker-87 Nightwalker-87 added this to the v1.6.1 milestone Mar 21, 2020
@rewolff rewolff closed this Mar 21, 2020
@rewolff rewolff deleted the error_return_in_failed_probe branch March 21, 2020 16:42
@Nightwalker-87
Copy link
Member

@rewolff: Closed?

@rewolff
Copy link
Contributor Author

rewolff commented Mar 21, 2020

I noticed that this contained the patches for the other stuff as well. So I researched how to split that out (took me a while) and then created a separate pull request (#890) for just this issue.

@Nightwalker-87 Nightwalker-87 removed their request for review March 21, 2020 18:09
@stlink-org stlink-org locked as resolved and limited conversation to collaborators May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants