Skip to content

Generic RuntimeException is generic (and not very helpful)  #49

Description

@csutherl

When you run vault.sh and don't provide a password (or provide an incorrect password) you get the following vague error:

Exception encountered:java.lang.RuntimeException: Unable to get keystore ([/path/to/vault.keystore])

the actual exception is (before it's caught and rethrown as a generic RuntimeException):

java.io.IOException: Keystore was tampered with, or password was incorrect

Is that really intentional? I think we should tell the user that there is an issue with the password rather than a generic error that it can't be loaded which implies that there are other problems.

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