From e22be4ce369ba8ebb045cc326db935820167d25f Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Sun, 1 Jul 2018 11:06:52 +0200 Subject: [PATCH] upd: added warning to error message The error message is more a warning. Change-Id: I0b27886b54fce016249f26b68446d35c3dd0625b --- src/club/wpia/gigi/Gigi.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/club/wpia/gigi/Gigi.java b/src/club/wpia/gigi/Gigi.java index 36e8c8cc..e4190154 100644 --- a/src/club/wpia/gigi/Gigi.java +++ b/src/club/wpia/gigi/Gigi.java @@ -319,8 +319,8 @@ public final class Gigi extends HttpServlet { if (knownPasswordHashesRequired) { throw new RuntimeException("Error while opening password hash database, refusing startup", e); } else { - System.err.println("Error while opening password hash database, passwords will be checked only by strength"); - if (!(e instanceof NoSuchFileException)) { + System.err.println("Warning: A problem was encountered while opening the password hash database, passwords will be checked only by strength."); + if ( !(e instanceof NoSuchFileException)) { e.printStackTrace(); } return new PasswordStrengthChecker(); -- 2.39.2