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 {
email.send();
} catch (Exception e) {
e.printStackTrace();
ConsoleLogger.showError("Fail to send a mail to " + mail);
ConsoleLogger.showError("Fail to send a mail to " + mail + " cause " + e.getLocalizedMessage());
}
if (file != null)
//noinspection ResultOfMethodCallIgnored