-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
None
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
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)
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.
- clones
-
JBEAP-11163 Wildfly Elytron Tool, Wildfly Elytron Tool error output would contain error message rather than stacktrace.
- Closed