From: INOPIAE Date: Sun, 1 Jul 2018 09:06:52 +0000 (+0200) Subject: upd: added warning to error message X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=e22be4ce369ba8ebb045cc326db935820167d25f upd: added warning to error message The error message is more a warning. Change-Id: I0b27886b54fce016249f26b68446d35c3dd0625b --- 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();