Skip to content

Commit

Permalink
Cleaned up log messages in CertificateAuthority.init()
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Jul 18, 2019
1 parent 0a8e874 commit 8297ef9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base/ca/src/com/netscape/ca/CertificateAuthority.java
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,10 @@ public void init(ISubsystem owner, IConfigStore config) throws
// init default CA attributes like cert version, validity.
initDefCaAttrs();

} catch (EBaseException e) {
} catch (EPropertyNotFound e) {
if (engine.isPreOpMode()) {
logger.warn("CertificateAuthority: " + e.getMessage(), e);
logger.warn("CertificateAuthority: swallow exception in pre-op mode");
logger.warn("CertificateAuthority: " + e.getMessage());
logger.warn("CertificateAuthority: Ignore exception in pre-op mode");
} else {
logger.error("CertificateAuthority: " + e.getMessage(), e);
throw e;
Expand Down

0 comments on commit 8297ef9

Please sign in to comment.