-
I was recently troubleshooting this error message: Excerpt from modules/ejbca-common/src/org/ejbca/core/model/ra/raadmin/EndEntityProfile.java
I would prefer something like If one were to make a patch to adjust this, would it be accepted? And if so, what do you consider an ideologically-correct approach to do it - put the info in the exception text, or use logging statements here and there? (thus enabling only the server admin to get this info) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You are right, it's a fine balance between helpful errors and error that are considered to reveal too much information about the configuration. |
Beta Was this translation helpful? Give feedback.
I find your wording a good compromise, but in retrospect I think that even the current message is good enough for someone who knows what they're doing. I had to troubleshoot an issue, but with my limited background in using EJBCA the error didn't bring me on the right path. When someone more knowledgeable had a look - they knew the culprit exactly (one needs to add multiple fields of the same type to the profile; whereas I only had one entry and thought that it would work).
A change is unnecessary, in my opinion.