[jboss-jira] [JBoss JIRA] (ELY-1205) Wildfly Elytron Tool, Wildfly Elytron Tool error output would contain error message rather than stacktrace.
Ilia Vassilev (JIRA)
issues at jboss.org
Fri May 26 09:30:00 EDT 2017
[ https://issues.jboss.org/browse/ELY-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilia Vassilev reassigned ELY-1205:
----------------------------------
Assignee: Ilia Vassilev (was: Darran Lofthouse)
> Wildfly Elytron Tool, Wildfly Elytron Tool error output would contain error message rather than stacktrace.
> -----------------------------------------------------------------------------------------------------------
>
> Key: ELY-1205
> URL: https://issues.jboss.org/browse/ELY-1205
> Project: WildFly Elytron
> Issue Type: Bug
> Reporter: Hynek Švábek
> Assignee: Ilia Vassilev
> Priority: Blocker
>
> Wildfly Elytron Tool error output would contain error message rather than stacktrace.
> I understand that it is very useful but the behaviour must be consistent with other apps, e.g.: jboss-cli.
> Now we have inconsistency even in this tool - half exceptions, half error messages.
> Here is example
> {code}
> java -jar wildfly-elytron-tool.jar credential-store --add myalias --secret secretpassword --location="test.store1" --password secret_password --summary --salt 12345678 --iteration 230 --create -type=KeyStoreCredentialStore123
> Exception encountered executing the command:
> java.security.NoSuchAlgorithmException
> at org.wildfly.security.credential.store.CredentialStore.getInstance(CredentialStore.java:65)
> at org.wildfly.security.tool.CredentialStoreCommand.execute(CredentialStoreCommand.java:157)
> at org.wildfly.security.tool.ElytronTool.main(ElytronTool.java:75)
> {code}
> I suggest add application parameter \-\-verbose (\-\-debug, ...) which enables print stack trace when error occurs.
> By default there is expected only error message and with this parameter there will be printed stack trace.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list