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

Allow to pass a custom error message for cargo_deny #95

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

ntrinquier
Copy link
Contributor

No description provided.

@ntrinquier ntrinquier added type: enhancement New feature or request only: kraken-std This issue affects only kraken-std. labels Aug 3, 2023
GitHub Action and others added 2 commits August 3, 2023 20:37
@ntrinquier ntrinquier merged commit f0be9fc into develop Aug 3, 2023
13 checks passed
@ntrinquier ntrinquier deleted the nvt/custom-error-message branch August 3, 2023 20:59
Comment on lines +27 to +29
TaskStatus.failed(self.error_message.get())
if self.error_message.get() is not None
else TaskStatus.from_exit_code(command, result.returncode)
Copy link
Contributor

Choose a reason for hiding this comment

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

A .map() might be better suited here and would help to avoid calling get() twice.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
only: kraken-std This issue affects only kraken-std. type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants