Print a stack trace on STMP error

This commit is contained in:
Tim Visée 2015-11-01 22:38:27 +01:00
parent 6089d481a9
commit 67a40a6fd0

View File

@ -113,6 +113,8 @@ public class SendMailSSL {
file.delete();
} catch(Exception e) {
// Print the stack trace
e.printStackTrace();
ConsoleLogger.showError("Some error occurred while trying to send a email to " + mail);
}
}