Skip to content

Improve error message if config file not found. #10

@ximon18

Description

@ximon18
$ kmip2pkcs11 --stderr --config /etc/kmip2pkcs11/config.tom

thread 'main' panicked at src/config.rs:105:62:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions