Util logging changes

This commit is contained in:
Dave committed 2014-12-23 22:10:18 +02:00
1 parent 6ceecd430d
commit 794b55e366
1 file changed
+2
+2
View File
@@ -134,6 +134,7 @@ public final class NoUtil {
try {
cipher.init(Cipher.ENCRYPT_MODE, secretKey);
} catch (InvalidKeyException e) {
e.printStackTrace();
throw new NoDashFatalException("Secret key is invalid.");
}
@@ -163,6 +164,7 @@ public final class NoUtil {
try {
cipher.init(Cipher.DECRYPT_MODE, secretKey);
} catch (InvalidKeyException e) {
e.printStackTrace();
throw new NoDashFatalException("Secret key is invalid.");
}