Remove StackTrace for production

This commit is contained in:
Xephi 2015-12-02 16:34:28 +01:00
parent b7ede1458e
commit 41b6b4184e

View File

@ -86,8 +86,7 @@ public class SendMailSSL {
try { try {
email.send(); email.send();
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); ConsoleLogger.showError("Fail to send a mail to " + mail + " cause " + e.getLocalizedMessage());
ConsoleLogger.showError("Fail to send a mail to " + mail);
} }
if (file != null) if (file != null)
//noinspection ResultOfMethodCallIgnored //noinspection ResultOfMethodCallIgnored