Skip to content

Conversation

@ansasaki
Copy link
Contributor

Use more descriptive message when required paths are missing instead of
the generic message.

Signed-off-by: Anderson Toshiyuki Sasaki ansasaki@redhat.com

@ashcrow
Copy link
Contributor

ashcrow commented Jun 28, 2022

Fedora tests failed on the following in a few places:

error: using Result.or_else(|x| Err(y)), which is more succinctly expressed as map_err(|x| y)

@ansasaki
Copy link
Contributor Author

Fedora tests failed on the following in a few places:

error: using Result.or_else(|x| Err(y)), which is more succinctly expressed as map_err(|x| y)

I'll replace the implementation. I forgot to run cargo clippy for this.

Use more descriptive message when required paths are missing instead of
the generic message.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Copy link
Contributor

@ashcrow ashcrow left a comment

Choose a reason for hiding this comment

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

LGTM!

@ansasaki ansasaki merged commit ad8608f into keylime:master Jun 28, 2022
@ansasaki ansasaki deleted the error_messages branch June 28, 2022 16:09
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